A beautiful day
How do I make an a beautiful day?
Simple CSS Drawings + Animations. Have a nice day! :). What is a a beautiful day? How do you make a a beautiful day? This script and codes were developed by Xavier Martínez on 19 September 2022, Monday.
A beautiful day - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>A beautiful day</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="sky"> <div class="sun"> <div class="eye"></div> <div class="eye"></div> <div class="smile"></div> </div> <div class="cloud anicloud1"> <div class="eye-cloud"></div> <div class="eye-cloud"></div> <div class="smile-cloud"></div> </div> <div class="cloud anicloud2"> <div class="eye-sleepy"></div> <div class="eye-sleepy"></div> <div class="sleep-cloud"></div> </div> <div class="cloud anicloud3"> <div class="eye-cloud"></div> <div class="eye-cloud"></div> <div class="smile-cloud"></div> </div>
</div>
</body>
</html>
A beautiful day - Script Codes CSS Codes
body { margin: 0;
}
.sky { overflow: hidden; height: 100vh; background-image: linear-gradient(to top, #d299c2 0%, #fef9d7 100%);
}
.sun { position: absolute; top: 100px; left: 70%; width: 120px; height: 120px; background-image: linear-gradient(to top, #ff0844 0%, #ffb199 100%); border-radius: 60px;
}
.sun .smile { position: relative; top: 32px; left: calc(50% - 10px); width: 20px; height: 10px; border-bottom: 10px solid #880E4F; border-radius: 100%;
}
.sun .eye { display: inline-block; position: relative; top: 37px; width: 10px; height: 10px; border-radius: 10px; background-color: #880E4F;
}
.sun .eye:nth-child(1) { left: 30%;
}
.sun .eye:nth-child(2) { left: 50%;
}
.cloud { width: 250px; height: 100px; background: linear-gradient(to bottom, #fff1f3 55%, #f9cbd2 100%); border-radius: 50px; position: absolute;
}
.cloud .smile-cloud, .cloud .sleep-cloud { position: relative; top: 12px; left: calc(50% + 30px); width: 50px; height: 20px; border-bottom: 20px solid #EF9A9A; border-radius: 100%;
}
.cloud .eye-cloud, .cloud .eye-sleepy { display: inline-block; position: relative; top: 15px; width: 10px; height: 20px; border-radius: 20px; background-color: #EF9A9A;
}
.cloud .eye-cloud:nth-child(1), .cloud .eye-sleepy:nth-child(1) { left: 65%;
}
.cloud .eye-cloud:nth-child(2), .cloud .eye-sleepy:nth-child(2) { left: 70%;
}
.cloud .eye-sleepy { width: 20px; height: 10px;
}
.cloud .sleep-cloud { width: 40px; height: 40px; top: 0px;
}
.cloud::after { position: absolute; width: 80px; height: 80px; top: -40px; left: 40px; border-radius: 40px; content: ''; background: #fff1f3; z-index: -1;
}
.cloud::before { width: 120px; height: 120px; top: -60px; right: 40px; border-radius: 200px; content: ''; position: absolute; background: #fff1f3; z-index: -1;
}
.anicloud1 { top: 200px; z-index: 100; animation: drift 25s linear infinite;
}
.anicloud2 { top: 400px; left: -200px; z-index: 100; animation: drift 35s 10s linear infinite backwards;
}
.anicloud3 { top: 100px; left: -200px; z-index: 100; animation: drift 35s 5s linear infinite backwards;
}
@keyframes drift { from { transform: translateX(-255px); } to { transform: translateX(calc(100vw + 125px)); }
}
Developer | Xavier Martínez |
Username | xmjol |
Uploaded | September 19, 2022 |
Rating | 3 |
Size | 2,973 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 |
React UI - 01 - Voting System | 4,796 Kb |
React UI - 04 Steps Form | 4,906 Kb |
Let | 2,699 Kb |
ReactJS Arrays | 2,631 Kb |
Background Styles | 3,501 Kb |
React UI - 07 - Random Image Generator Giphy API | 4,193 Kb |
4-block-flex Round | 3,301 Kb |
Article Header Collapse | 6,182 Kb |
ResaFav Customizer | 3,669 Kb |
Flex Side-content-2 | 2,414 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 |
React Template | Isac | 1,241 Kb |
CSS Hover Effects | Alen | 3,613 Kb |
Image Hover | Johnheiner | 3,409 Kb |
Simple Linear Regression with Editable Table | Melatonind | 3,264 Kb |
Super Discount | Orrinward | 3,225 Kb |
Slim Grid SASS SCSS v3.2 | Thesturs | 4,709 Kb |
Free css icon set v2 - one div | Ben_jammin | 0 Kb |
Faux column absolute wrapper | Yurimorini | 1,823 Kb |
Ocean | Gordonnl | 2,817 Kb |
Login-ng-modal | Heedoo | 3,566 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!