The Heart
How do I make an the heart?
What is a the heart? How do you make a the heart? This script and codes were developed by AaronChuo (小狂) on 11 September 2022, Sunday.
The Heart - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>The Heart</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="heart"></div> <script src='http://ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js'></script>
</body>
</html>
The Heart - Script Codes CSS Codes
html,
body { background: #222;
}
.heart { position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; width: 270px; height: 300px; /*width: 200px; height: 200px; background: #39C;*/ -webkit-transform-origin: top center; transform-origin: top center; -webkit-transform: rotateX(-15deg); transform: rotateX(-15deg); -webkit-animation: cool 300ms cubic-bezier(0.5, 1, 0.5, 3) infinite alternate; animation: cool 300ms cubic-bezier(0.5, 1, 0.5, 3) infinite alternate;
}
.heart:before, .heart:after { content: ''; position: absolute; display: block; margin: auto; width: 200px; height: 300px; background: #F66; -webkit-transform-origin: 0 100% 50%; transform-origin: 0 100% 50%;
}
.heart:before { left: 0; border-radius: 50% 50% 50% 0; -webkit-transform: rotateZ(-45deg); transform: rotateZ(-45deg);
}
.heart:after { right: 0; border-radius: 50% 50% 0 50%; -webkit-transform: rotateZ(45deg); transform: rotateZ(45deg);
}
@-webkit-keyframes cool { 0% { -webkit-transform: scale(1); transform: scale(1); } 100% { -webkit-transform: scale(1.05); transform: scale(1.05); }
}
@keyframes cool { 0% { -webkit-transform: scale(1); transform: scale(1); } 100% { -webkit-transform: scale(1.05); transform: scale(1.05); }
}
Developer | AaronChuo (小狂) |
Username | aaronchuo |
Uploaded | September 11, 2022 |
Rating | 3 |
Size | 2,405 Kb |
Views | 26,312 |
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 |
Gradient Color Spin | 2,986 Kb |
I drink and I know things | 2,218 Kb |
Apple Watch Bubble-like UI | 3,765 Kb |
Happy Birthday to Me | 4,549 Kb |
Wave | 3,550 Kb |
Gradient Circle Spinner | 3,062 Kb |
Brown by pure CSS, no image, no javascript | 2,652 Kb |
Animated Donut Chart | 4,147 Kb |
Poached Egg by pure CSS | 3,161 Kb |
Scifi-style Interative Form | 4,566 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 |
Testing Portfolio Page | Sideshowli | 3,395 Kb |
Coming Soon | MariamMassadeh | 1,680 Kb |
Svg animation draw | SzymonDziewonski | 5,545 Kb |
Sticky div | Kaslab | 2,225 Kb |
Perforated foil | 0x04 | 2,617 Kb |
Tumblr API | Juanv911 | 2,436 Kb |
RollOver Effect 2 | Lmack90 | 2,162 Kb |
Random Gradients - JS | Aldlevine | 2,026 Kb |
IE11 Test | Boostnewmedia | 4,998 Kb |
Matrix | Stathisnikolaidis | 1,922 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!