Valentine's day
How do I make an valentine's day?
Happy Valentine's day for everyone :) here is a glass full of love and happiness!. What is a valentine's day? How do you make a valentine's day? This script and codes were developed by Ivan Sakoman on 12 June 2022, Sunday.
Valentine's day - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Valentine's day</title> <link href="https://fonts.googleapis.com/css?family=Dancing+Script" rel="stylesheet"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1>Happy Valentine's day</h1>
<div id="heart">
</div>
<div class="glass-wrapper"> <div class="top"> <div class="liquid"> <div class="shadow"> </div> </div> <div class="shadow2"></div> </div> <div class="stand"></div> <div class="bottom"></div> <div class="heart h1"></div> <div class="heart h2"></div> <div class="heart h3"></div> <div class="heart h4"></div> <div class="heart h5"></div> <div class="heart h6"></div>
</div>
</body>
</html>
Valentine's day - Script Codes CSS Codes
body { background-color: #fe9cd1; font-family: 'Dancing Script', cursive;
}
h1 { text-align: center; margin-top: 40px; font-size: 50px; color: #333;
}
#heart { position: absolute; left: calc(50% - 200px); top: calc(50% - 180px); width: 400px; height: 360px; opacity: 0.2;
}
#heart:before,
#heart:after { position: absolute; content: ""; left: 200px; top: 0; width: 200px; height: 360px; background: red; -moz-border-radius: 100px 1000px 0 0; border-radius: 100px 100px 0 0; -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); -webkit-transform-origin: 0 100%; -moz-transform-origin: 0 100%; -ms-transform-origin: 0 100%; -o-transform-origin: 0 100%; transform-origin: 0 100%;
}
#heart:after { left: 0; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); -webkit-transform-origin: 100% 100%; -moz-transform-origin: 100% 100%; -ms-transform-origin: 100% 100%; -o-transform-origin: 100% 100%; transform-origin: 100% 100%;
}
.glass-wrapper { position: absolute; left: calc(50% - 150px); top: calc(50% - 230px); width: 300px; height: 500px; cursor: pointer;
}
.glass-wrapper:hover { animation: shake 1.3s ease;
}
.top { position: absolute; left: 70px; top: 80px; width: 150px; height: 250px; overflow: hidden; border: 5px solid #333; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-left-radius: 60%; border-bottom-right-radius: 60%; z-index: 2;
}
.top .liquid { position: absolute; bottom: 0; width: 150px; height: 150px; background-color: #c0392b;
}
.top .liquid .shadow { position: absolute; bottom: -100px; right: -100px; width: 300px; height: 300px; background-color: transparent; border-bottom-left-radius: 50%; border-bottom-right-radius: 50%; border: 100px solid rgba(0, 0, 0, 0.2);
}
.top .shadow2 { position: absolute; left: 20px; top: 10px; width: 10px; height: 160px; background-color: rgba(255, 255, 255, 0.3); border-bottom-left-radius: 100%;
}
.stand { position: absolute; left: 142px; top: 338px; width: 5px; height: 100px; border: 5px solid #333; border-top-width: 2px; border-bottom: 0; background-color: rgba(255, 255, 255, 0.3);
}
.bottom { position: absolute; left: 90px; top: 438px; width: 110px; height: 5px; border: 5px solid #333; border-top-left-radius: 10px; border-top-right-radius: 10px; background-color: rgba(255, 255, 255, 0.3);
}
.heart { position: absolute; width: 100px; height: 90px; top: 200px;
}
.heart.h1 { left: 120px; animation: transition-up 5s ease-in-out 1s infinite;
}
.heart.h2 { left: 150px; animation: transition-up 5s ease-in-out infinite;
}
.heart.h3 { animation: transition-up 5s ease-in-out 2s infinite; left: 90px;
}
.heart.h4 { animation: transition-up 5s ease-in-out 3s infinite; left: 115px;
}
.heart.h5 { animation: transition-up 5s ease-in-out 4s infinite; left: 135px;
}
.heart.h6 { animation: transition-up 5s ease-in-out 3.5s infinite; left: 140px;
}
.heart:before, .heart:after { position: absolute; content: ""; left: 25px; top: 0; width: 25px; height: 40px; background: #c0392b; -moz-border-radius: 50px 50px 0 0; border-radius: 50px 50px 0 0; -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); -webkit-transform-origin: 0 100%; -moz-transform-origin: 0 100%; -ms-transform-origin: 0 100%; -o-transform-origin: 0 100%; transform-origin: 0 100%;
}
.heart:after { left: 0; -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); -webkit-transform-origin: 100% 100%; -moz-transform-origin: 100% 100%; -ms-transform-origin: 100% 100%; -o-transform-origin: 100% 100%; transform-origin: 100% 100%;
}
@keyframes transition-up { 0% { transform: translate3d(20px, 0, 0); } 20% { transform: translate3d(-20px, 0, 0); } 40% { transform: translate3d(20px, 0, 0); } 60% { opacity: 1; transform: translate3d(-20px, 0, 0); } 80% { transform: translate3d(10px, 0, 0); } 100% { opacity: 0; top: 10px; transform: translate3d(-10px, 0, 0); }
}
@keyframes shake { 0% { transform: rotate(0); } 25% { transform: rotate(10deg); } 50% { transform: rotate(-10deg); } 75% { transform: rotate(5deg); } 100% { transform: rotate(0deg); }
}
Developer | Ivan Sakoman |
Username | ssaakkaa |
Uploaded | June 12, 2022 |
Rating | 3.5 |
Size | 3,643 Kb |
Views | 105,248 |
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 |
Poison bottle CSS | 4,873 Kb |
CSS tutorial | 6,187 Kb |
OsijekFrontendSVG lesson2 | 3,708 Kb |
ClipPath cursor | 1,908 Kb |
Bootstrap example | 2,716 Kb |
Spinner CSS | 2,411 Kb |
Dubble header idea | 1,543 Kb |
Bootstrap header | 1,872 Kb |
Rick Sanchez | 4,014 Kb |
OnClick transition | 2,263 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 |
Form Labels | Bartuc | 2,717 Kb |
CSS Grid Overlay | Cliffpyles | 3,090 Kb |
Light Switch | Bartuc | 4,933 Kb |
Google Fonts Sass Mixin | HugoGiraudel | 4,237 Kb |
Exploding Text | Jjmartucci | 4,749 Kb |
Transitioning application screens with semantically named classes | Djgrant | 3,697 Kb |
Emberjs Bootstrap Modal Carousel | Somethingkindawierd | 4,233 Kb |
GLSL Hills | Ykob | 6,991 Kb |
Responsive Table-less Shopping Cart | Alex_rodrigues | 6,637 Kb |
Wikipedia Viewer | Thomasvaeth | 2,549 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!