Atom

Developer
Size
1,932 Kb
Views
12,144

How do I make an atom?

Another one inspired by the lovely icon set by Axel Herrmann https://dribbble.com/shots/1770149-Random. What is a atom? How do you make a atom? This script and codes were developed by Barbara Laird on 16 January 2023, Monday.

Atom Previews

Atom - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Atom</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <div class="oval"></div> <div class="oval rot1"></div> <div class="oval rot2"></div>
</div>
</body>
</html>

Atom - Script Codes CSS Codes

/* dark: rgba(57, 147, 145, 1)
light: rgba(134, 194, 190, 1)
*/
.oval { position:absolute; top:0;	width: 296px;	height: 76px;	border: 4px solid rgba(57, 147, 145, 1);	-moz-border-radius: 150px / 40px;	-webkit-border-radius: 150px / 40px;	border-radius: 150px / 40px;
}
.oval:before { content: ''; background:rgba(134, 194, 190, 1); border: 4px solid rgba(57, 147, 145, 1); position:absolute; top:17px; left:129px; border-radius: 50%;	width: 32px;	height: 32px;
}
.oval:after { content: ''; background:rgba(57, 147, 145, 1); position:absolute; top:30px; left:-8px; border-radius: 50%;	width: 16px;	height: 16px;
}
.rot1 { -ms-transform: rotate(45deg); /* IE 9 */ -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */ transform: rotate(45deg); animation:planet 60s linear infinite;
}
.rot2 { -ms-transform: rotate(60deg); /* IE 9 */ -webkit-transform: rotate(-45deg); /* Chrome, Safari, Opera */ transform: rotate(-45deg);
}
.rot1:after, .rot2:after { left:288px;
}
@keyframes planet { 0% {transform:rotate(0deg);} 100% {transform:rotate(360deg);}
}
body { background:#fefdfa;
}
.container { position: absolute; top: 50%; left: 50%; width: 200px; height: 200px; margin-top: -100px; /* Half the height */ margin-left: -100px; /* Half the width */
}
Atom - Script Codes
Atom - Script Codes
Home Page Home
Developer Barbara Laird
Username bhlaird
Uploaded January 16, 2023
Rating 3
Size 1,932 Kb
Views 12,144
Do you need developer help for Atom?

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!

Barbara Laird (bhlaird) Script Codes
Create amazing blog posts 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!