Css wave simulation
How do I make an css wave simulation?
Just a little fun demo.. What is a css wave simulation? How do you make a css wave simulation? This script and codes were developed by João Victor on 06 November 2022, Sunday.
Css wave simulation - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>css wave simulation</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> <div class="foo"></div>
</body>
</html>
Css wave simulation - Script Codes CSS Codes
body { background: #E2E2E2;
}
.foo { position: absolute; bottom: 0; left: 0; width: 50%; height: 200px; background: #457BBE; transform: translateZ(0); animation: foo 2.5s linear alternate infinite;
}
.foo:after,
.foo:before { content: ''; position: absolute;
}
.foo:after { right: -100%; width: 100%; height: 200px; background: #457BBE; animation: bar 2.5s linear alternate infinite;
}
.foo:before { top: -200px; left: 100%; width: 50px; height: 50px; border-style: solid; border-color: transparent black black transparent; border-width: 5px; background: transparent; transform: rotate(45deg) translateX(-70%); animation: arrow 2.5s linear alternate infinite;
}
@keyframes foo { 80% { border-radius: 0; } 98%, 100% { border-top-right-radius: 100%; }
}
@keyframes bar { 80% { border-radius: 0; } 98%, 100% { border-top-left-radius: 100%; }
}
@keyframes arrow { 0%, 50% { top: -200px; } 25%, 75% { top: -175px; } 98%, 100% { top: 50px; }
}
Developer | João Victor |
Username | jotavejv |
Uploaded | November 06, 2022 |
Rating | 4.5 |
Size | 2,285 Kb |
Views | 10,120 |
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 |
Typeset a Poem - Rodeo 005 | 2,546 Kb |
Pokeball CSS | 2,742 Kb |
Slider looping CSS | 2,180 Kb |
BackboneJS pure CSS logo | 3,285 Kb |
Aku Aku CSS art | 4,829 Kb |
Psychedelic spiral wormhole | 2,018 Kb |
Vue.js Logo Animated | 3,568 Kb |
Web Platform logo CSS - only one div | 2,117 Kb |
Loader random animated | 3,319 Kb |
Compass CSS | 1,754 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 |
A Pen by John Malc | F789gh | 1,420 Kb |
Simple animated hover effect | Pobee-norris | 3,044 Kb |
Social Profiles | Lachlanjc | 1,939 Kb |
Use the Twitchtv JSON API | Roksanaop | 3,561 Kb |
Console fun | Dviate | 1,500 Kb |
Basecamp 3 Document | Lachlanjc | 3,811 Kb |
Highbrow Basic HTML Lesson 8 | Kimlarocca | 2,094 Kb |
Hard-Stop Gradients | Mackdoyle | 2,288 Kb |
SVG Animation | Pollardld | 3,133 Kb |
A Pen by Alex Edwards | Exards | 8,218 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!