CSS3 Shapes reference

Developer
Size
2,574 Kb
Views
8,096

How do I make an css3 shapes reference?

Geometric shapes and in css. What is a css3 shapes reference? How do you make a css3 shapes reference? This script and codes were developed by Tom Hermans on 09 December 2022, Friday.

CSS3 Shapes reference Previews

CSS3 Shapes reference - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS3 Shapes reference</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1>Some css shapes for future reference</h1>
<div id="circle"></div>
<div id="square"></div>
<div id="oval"></div>
<div id="triangle-down"></div>
<div id="triangle-down2"></div>
<div id="triangle-left"></div>
<div id="triangle-right"></div>
<div id="triangle-top"></div>
<div id="trapezium"></div>
<div id="halfrounded-rectangle"></div>
<div id="quartercircle"></div>
<hr />
<!--<div id="halfrounded-rectangle-bordered"></div>-->
<hr />
More to be found here:
<a href="http://pixeltuner.de/css3-formen/#css3-shapes">http://pixeltuner.de/css3-formen/#css3-shapes</a>
</body>
</html>

CSS3 Shapes reference - Script Codes CSS Codes

body { font-family: sans-serif;
}
div { display: inline-block;
}
#circle { display: inline-block; width: 140px; height: 140px; background: #bada55; -moz-border-radius: 70px; -webkit-border-radius: 70px; border-radius: 70px;
}
#square { display: inline-block; width: 140px; height: 140px; background: #bada55;
}
#oval { display: inline-block; width: 280px; height: 140px; background: #bada55; -moz-border-radius: 140px / 70px; -webkit-border-radius: 140px / 70px; border-radius: 140px / 70px;
}
#triangle-down { display: inline-block; width: 0; height: 0; border-top: 140px solid #bada55; border-left: 70px solid transparent; border-right: 70px solid transparent;
}
#triangle-down2 { display: inline-block; width: 0; height: 0; border-top: 140px solid #bada55; border-left: 140px solid transparent; border-right: 140px solid transparent;
}
#triangle-left { display: inline-block; width: 0; height: 0; border-top: 70px solid transparent; border-bottom: 70px solid transparent; border-right: 140px solid #bada55;
}
#triangle-right { display: inline-block; width: 0; height: 0; border-top: 70px solid transparent; border-bottom: 70px solid transparent; border-left: 140px solid #bada55;
}
#triangle-top { display: inline-block; width: 0; height: 0; border-left: 70px solid transparent; border-right: 70px solid transparent; border-bottom: 140px solid #bada55;
}
#trapezium { display: inline-block; height: 0; width: 70px; border-bottom: 70px solid #bada55; border-left: 35px solid transparent; border-right: 35px solid transparent;
}
#halfrounded-rectangle { background: #bada55; width: 140px; height: 93.33333px; border-radius: 0 46.66667px 46.66667px 0;
}
#halfrounded-rectangle-bordered { background: #bada55; width: 140px; height: 93.33333px; border-radius: 0 46.66667px 46.66667px 0; position: relative;
}
#halfrounded-rectangle-bordered:before { background: #fff; content: ""; width: 126px; height: 84px; top: 10px; left: 10px; border-radius: 0 46.66667px 46.66667px 0;
}
#quartercircle { background: #bada55; width: 140px; height: 140px; position: relative; border-radius: 0 0 0 140px;
}
CSS3 Shapes reference - Script Codes
CSS3 Shapes reference - Script Codes
Home Page Home
Developer Tom Hermans
Username tomhermans
Uploaded December 09, 2022
Rating 3
Size 2,574 Kb
Views 8,096
Do you need developer help for CSS3 Shapes reference?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Tom Hermans (tomhermans) Script Codes
Create amazing Facebook ads with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!