5
CSS-Art-3
source link: https://codepen.io/S4ch1/pen/yLobbQa
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Pen Settings
HTML Preprocessor
Add Class(es) to <html>
Stuff for <head>
0 unsaved changes
xxxxxxxxxx
<div class="div-1"></div>
<div class="div-2"></div>
<div class="div-3"></div>
<div class="div-4"></div>
<div class="div-5"></div>
<div class="div-6"></div>
<div class="div-7"></div>
<div class="div-8"></div>
*, *::before, *::after{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
background-color:cornflowerblue;
}
.div-1{
width: 0;
height: 0;
border-top: 60px solid transparent;
border-bottom: 60px solid transparent;
border-right: 60px solid darkmagenta;
border-radius: 45%;
position:absolute;
margin: auto;
right:0;
left:240px;
top: 0;
bottom: 290px;
xxxxxxxxxx
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK