Atom
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 - 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 */
}
Developer | Barbara Laird |
Username | bhlaird |
Uploaded | January 16, 2023 |
Rating | 3 |
Size | 1,932 Kb |
Views | 12,144 |
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!
Name | Size |
Coming Soon | 3,075 Kb |
Codrops animated text | 1,970 Kb |
A Pen by Barbara Laird | 1,795 Kb |
Ghost | 3,057 Kb |
Playing with colors | 9,310 Kb |
TIme Since | 3,111 Kb |
Barber Shop | 6,270 Kb |
Windows | 2,686 Kb |
Hipster quote callout | 5,030 Kb |
Terry Hover Effect from Codrops | 2,941 Kb |
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!
Name | Username | Size |
Large canvas mousemove experiment | Jibbon | 2,885 Kb |
Portfolio Layout Flex | Lahvjal | 3,489 Kb |
Slide In Panel | Vikvarg | 2,811 Kb |
Haml Calendar | Katydecorah | 5,643 Kb |
Michelle, submit your photography to Unsplash. | Zaneriley | 3,368 Kb |
CSS Infinite 360 | APinix | 5,564 Kb |
GLSL Hills | Ykob | 6,991 Kb |
Yuliya v krylova | Rafszul | 37,351 Kb |
Click handler test | Snapson | 2,329 Kb |
Heartbeat | Apetrov | 2,079 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!