Vintage Television Set Noise Effect in CSS3

Developer
Size
1,895 Kb
Views
54,648

How do I make an vintage television set noise effect in css3?

Experimental TV Noise in CSS3. What is a vintage television set noise effect in css3? How do you make a vintage television set noise effect in css3? This script and codes were developed by Prashant Sani on 15 October 2022, Saturday.

Vintage Television Set Noise Effect in CSS3 Previews

Vintage Television Set Noise Effect in CSS3 - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Vintage Television Set Noise Effect in CSS3</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="tvNoiseContain"> <img src="https://prashantsani.com/Misc/codepen/tv.svg" alt="" class="tv"> <div class="noiseContain"> <div></div> </div> </div>
<!--
Vintage CSS3 TV Noise
-->
</body>
</html>

Vintage Television Set Noise Effect in CSS3 - Script Codes CSS Codes

html,body{ width: 100%; height: 100%; position: relative;
}
.tvNoiseContain{ position: absolute; top: 50%; left: 50%; width:432px; height:467px; overflow:hidden; margin: -240px 0 -10px -216px;
}
.tv{ position: absolute; left: 0; top: 0; z-index: 10;
}
.noiseContain{ position: absolute; width: 290px; height: 240px; top: 189px; left: 27px; z-index: 0; overflow: hidden;
}
.noiseContain div{ background-image: url(https://prashantsani.com/Misc/codepen/noise.jpg); background-repeat: repeat; background-position: 0 0; width: 400%; height: 400%; -webkit-animation: noiseAnim 0.5s infinite linear alternate; -moz-animation: noiseAnim 0.5s infinite linear alternate; -o-animation: noiseAnim 0.5s infinite linear alternate; animation: noiseAnim 0.5s infinite linear alternate;
}
@-webkit-keyframes noiseAnim{ 0% { background-position: 10px 200px; } 20% { background-position: -50px 0; } 40% { background-position: 100px -10px; } 60% { background-position: 0 -150px; } 80% { background-position: -100px -30px; } 100% { background-position: 160px -60px; }
}
@-moz-keyframes noiseAnim { 0% { background-position: 10px 200px; } 20% { background-position: -50px 0; } 40% { background-position: 100px -10px; } 60% { background-position: 0 -150px; } 80% { background-position: -100px -30px; } 100% { background-position: 160px -60px; }
}
@-o-keyframes noiseAnim { 0% { background-position: 10px 200px; } 20% { background-position: -50px 0; } 40% { background-position: 100px -10px; } 60% { background-position: 0 -150px; } 80% { background-position: -100px -30px; } 100% { background-position: 160px -60px; }
}
@keyframes noiseAnim { 0% { background-position: 10px 200px; } 20% { background-position: -50px 0; } 40% { background-position: 100px -10px; } 60% { background-position: 0 -150px; } 80% { background-position: -100px -30px; } 100% { background-position: 160px -60px; }
}
Vintage Television Set Noise Effect in CSS3 - Script Codes
Vintage Television Set Noise Effect in CSS3 - Script Codes
Home Page Home
Developer Prashant Sani
Username Prashantsani
Uploaded October 15, 2022
Rating 4
Size 1,895 Kb
Views 54,648
Do you need developer help for Vintage Television Set Noise Effect in CSS3?

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!

Prashant Sani (Prashantsani) Script Codes
Create amazing SEO 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!