Animated Gradient

Size
2,110 Kb
Views
6,072

How do I make an animated gradient?

What is a animated gradient? How do you make a animated gradient? This script and codes were developed by David Bellotti on 13 November 2022, Sunday.

Animated Gradient Previews

Animated Gradient - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Animated Gradient</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="canvas"></div>
</body>
</html>

Animated Gradient - Script Codes CSS Codes

.canvas { height: 100vh; width: 100vw; background: -webkit-linear-gradient(#ffcccc, #ffff99); background: linear-gradient(#ffcccc, #ffff99);
}
.canvas:after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: -webkit-linear-gradient(#ffff99, #ffcccc); background: linear-gradient(#ffff99, #ffcccc); opacity: 0; -webkit-animation: cycle 4s infinite; animation: cycle 4s infinite;
}
@-webkit-keyframes cycle { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; }
}
@keyframes cycle { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; }
}
Animated Gradient - Script Codes
Animated Gradient - Script Codes
Home Page Home
Developer David Bellotti
Username dbellotti
Uploaded November 13, 2022
Rating 3
Size 2,110 Kb
Views 6,072
Do you need developer help for Animated Gradient?

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!

David Bellotti (dbellotti) Script Codes
Create amazing web content with AI!

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!