The Heart

Size
2,405 Kb
Views
26,312

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 Previews

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); }
}
The Heart - Script Codes
The Heart - Script Codes
Home Page Home
Developer AaronChuo (小狂)
Username aaronchuo
Uploaded September 11, 2022
Rating 3
Size 2,405 Kb
Views 26,312
Do you need developer help for The Heart?

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!

AaronChuo (小狂) (aaronchuo) 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!