Scanline effect

Developer
Size
2,245 Kb
Views
56,672

How do I make an scanline effect?

What is a scanline effect? How do you make a scanline effect? This script and codes were developed by Oliver Kühn on 15 November 2022, Tuesday.

Scanline effect Previews

Scanline effect - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Scanline effect</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="fullHeight image"> <div class="fullHeight scanLines image"><div>
</div> <script src="js/index.js"></script>
</body>
</html>

Scanline effect - Script Codes CSS Codes

html, body, .fullHeight { height: 100%; margin: 0;
}
.image { background: url("http://upload.wikimedia.org/wikipedia/commons/2/2f/G%C3%BCnz6.jpg") no-repeat center;
}
.scanLines { /*** WEBKIT ***/ background: -webkit-repeating-linear-gradient(top, transparent 0px, transparent 1px, rgba(0, 0, 0, 0.25) 1px, rgba(0, 0, 0, 0.25) 2px); -webkit-background-size: 100% 2px; /** MOZILLA **/ background: -moz-repeating-linear-gradient(top, transparent 0px, transparent 1px, rgba(0, 0, 0, 0.25) 1px, rgba(0, 0, 0, 0.25) 2px); -moz-background-size: 100% 2px;
}

Scanline effect - Script Codes JS Codes

/**
Scanline effect
---------------
Chrome, Safari -> ok
Firefox -> fails partially (render bugs)
**/
Scanline effect - Script Codes
Scanline effect - Script Codes
Home Page Home
Developer Oliver Kühn
Username 0x04
Uploaded November 15, 2022
Rating 3.5
Size 2,245 Kb
Views 56,672
Do you need developer help for Scanline effect?

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!

Oliver Kühn (0x04) 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!