Notification Animation
How do I make an notification animation?
What is a notification animation? How do you make a notification animation? This script and codes were developed by Simeon Simeonoff on 09 September 2022, Friday.
Notification Animation - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Notification Animation</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel='stylesheet prefetch' href='https://fonts.googleapis.com/icon?family=Material+Icons'>
<link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Roboto'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="container"> <div class="rectangle"> <div class="notification-text"> <i class="material-icons">info</i> <span> This is a test notification.</span> </div> </div>
</div>
</body>
</html>
Notification Animation - Script Codes CSS Codes
html,
body { height: 100%;
}
.container { display: -webkit-box; display: -ms-flexbox; display: flex; height: 100%; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center;
}
.rectangle { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: start; -ms-flex-pack: start; justify-content: flex-start; positon: relative; width: 50px; height: 50px; background: #380848; -webkit-transform: scale(0); transform: scale(0); border-radius: 50%; color: white; opacity: 0; overflow: hidden; -webkit-animation: scale-in .3s ease-out forwards, expand .35s .25s ease-out forwards; animation: scale-in .3s ease-out forwards, expand .35s .25s ease-out forwards;
}
.notification-text { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; padding: 0 16px; font-family: 'Roboto', sans-serif; font-size: 14px; -webkit-animation: fade-in .65s ease-in forwards; animation: fade-in .65s ease-in forwards;
}
@-webkit-keyframes scale-in { 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
}
@keyframes scale-in { 100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
}
@-webkit-keyframes expand { 50% { width: 350px; border-radius: 6px; } 100% { width: 300px; border-radius: 4px; box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 3px 3px -1px rgba(0, 0, 0, 0.12); }
}
@keyframes expand { 50% { width: 350px; border-radius: 6px; } 100% { width: 300px; border-radius: 4px; box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 3px 3px -1px rgba(0, 0, 0, 0.12); }
}
@-webkit-keyframes fade-in { 0% { opacity: 0; } 100% { opacity: .8; }
}
@keyframes fade-in { 0% { opacity: 0; } 100% { opacity: .8; }
}
Developer | Simeon Simeonoff |
Username | simeonoff |
Uploaded | September 09, 2022 |
Rating | 4.5 |
Size | 2,603 Kb |
Views | 28,336 |
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 |
Material Inputs | 3,313 Kb |
Flexbox SASS Grid | 4,135 Kb |
Material Design Calendar | 4,021 Kb |
Material Radio Buttons | 2,938 Kb |
Material Checkboxes | 3,262 Kb |
Grid Layout | 2,845 Kb |
Bouncy Switch | 2,830 Kb |
Flex Table | 4,059 Kb |
A Pen by Simeon Simeonoff | 2,602 Kb |
Toggle Buttons | 2,666 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 |
Draggable directive | YahyaKacem | 2,277 Kb |
Table Exercise | Fresco | 9,585 Kb |
A Pen by Patrick Cox | Pcridesagain | 2,899 Kb |
Portfolio Page | KaylaMT | 1,983 Kb |
CSS3 keyframe onload animation. | Samueljseay | 1,706 Kb |
Loading Bar | Jaradlight | 2,333 Kb |
Halo 5 REQ Guide Bookmarklet | Cwacht | 3,993 Kb |
Simple content swap | Snografx | 1,859 Kb |
Use the Twitchtv JSON API | Roksanaop | 3,561 Kb |
A Pen by Bryan Rojas | Bryanrojas | 1,873 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!