CSS Animations basic demo

Size
2,004 Kb
Views
16,184

How do I make an css animations basic demo?

What is a css animations basic demo? How do you make a css animations basic demo? This script and codes were developed by Martin Michálek on 29 September 2022, Thursday.

CSS Animations basic demo Previews

CSS Animations basic demo - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Animations basic demo</title> <script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ .example { background: #b3e888; padding: 2em;
}
.example:hover,
.example:focus,
.example:active { animation: my_blink_animation 1s infinite;
}
@keyframes my_blink_animation { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; }
}
.css-mine { margin-top: 2em; clear: both;
}
body { margin: 1.5em;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <pre>
.example:hover { animation: my_blink_animation 1s infinite;
}
@keyframes my_blink_animation { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; }
}
</pre>
<div class="example">	<p>Box will blink on mouse over.</p>
</div>
<p class="css-mine"> <small> (<a href="http://www.cssmine.com/css3-animations" target="_blank">CSS3 Animations</a> at CSS Mine) </small>
</p>
</body>
</html>

CSS Animations basic demo - Script Codes CSS Codes

.example { background: #b3e888; padding: 2em;
}
.example:hover,
.example:focus,
.example:active { animation: my_blink_animation 1s infinite;
}
@keyframes my_blink_animation { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; }
}
.css-mine { margin-top: 2em; clear: both;
}
body { margin: 1.5em;
}
CSS Animations basic demo - Script Codes
CSS Animations basic demo - Script Codes
Home Page Home
Developer Martin Michálek
Username machal
Uploaded September 29, 2022
Rating 3
Size 2,004 Kb
Views 16,184
Do you need developer help for CSS Animations basic demo?

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!

Martin Michálek (machal) Script Codes
Create amazing marketing copy 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!