Wobble Notification
How do I make an wobble notification?
What is a wobble notification? How do you make a wobble notification? This script and codes were developed by Alex Pate on 24 November 2022, Thursday.
Wobble Notification - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Wobble Notification</title> <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> <button class="toggle">Toggle Notification</button>
<div class="notification"> <span class="notification__copy">Welcome Back!</span>
</div> <script src="js/index.js"></script>
</body>
</html>
Wobble Notification - Script Codes CSS Codes
* { box-sizing: border-box;
}
html,
body { margin: 0; padding: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: #111; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; width: 100%; height: 100%;
}
.toggle { position: absolute; top: 10px; right: 10px;
}
.notification { width: 70px; height: 70px; border-radius: 70px; background: #3498db; -webkit-transition: all 0.28s cubic-bezier(0.3, 0.3, 0.4, 1.7); transition: all 0.28s cubic-bezier(0.3, 0.3, 0.4, 1.7);
}
.notification--show { width: 200px;
}
.notification__copy { font-size: 15px; font-weight: 600; color: #fff; text-align: center; opacity: 0; display: block; padding-top: 25px; -webkit-transition: none; transition: none;
}
.notification--show .notification__copy { opacity: 1; -webkit-transition: all 0.28s cubic-bezier(0.3, 0.3, 0.4, 1.7) 0.3s; transition: all 0.28s cubic-bezier(0.3, 0.3, 0.4, 1.7) 0.3s;
}
Wobble Notification - Script Codes JS Codes
document.getElementsByClassName('toggle')[0].onclick = function() { toggle = document.getElementsByClassName('notification')[0]; var className = '' + toggle.className + ''; toggle.className = ~className.indexOf('notification--show') ? className.replace('notification--show', '') : toggle.className + ' notification--show';
}
Developer | Alex Pate |
Username | alexpate |
Uploaded | November 24, 2022 |
Rating | 3 |
Size | 2,618 Kb |
Views | 14,168 |
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 |
CSS Colors | 2,232 Kb |
Subtle Draw Nav Animation | 3,089 Kb |
Whatthehack Pusher | 3,474 Kb |
SVG Progress Circle JS | 5,122 Kb |
Labs Bubbling Animation | 3,414 Kb |
Random HEX Color Generator | 2,925 Kb |
Notifier Pulse | 2,450 Kb |
Pulse Animation | 2,280 Kb |
Stats Animation | 2,585 Kb |
Pulse Animation - With Notifications | 2,617 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 |
Faux column absolute wrapper | Yurimorini | 1,823 Kb |
CSS Parent Selector | Tomhodgins | 2,143 Kb |
SVG Animation | Pollardld | 3,133 Kb |
Octopus Bar iPad App Interactions | Davidkpiano | 6,735 Kb |
Shop Talk logo made in CSS | Hugo | 19,368 Kb |
A Pen by Tosh | Panev | 2,586 Kb |
We Simplify animation | Meodai | 48,169 Kb |
Owl Carousel - jumpTo | OwlFonk | 2,553 Kb |
Break Out | AzazelN28 | 12,431 Kb |
Prism | Pyrografix | 2,843 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!