Scanline effect
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 - 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)
**/
Developer | Oliver Kühn |
Username | 0x04 |
Uploaded | November 15, 2022 |
Rating | 3.5 |
Size | 2,245 Kb |
Views | 56,672 |
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 |
Perforated foil | 2,617 Kb |
Max Headroom | 3,784 Kb |
Hover rotating cube | 3,166 Kb |
ASCIICanvas | 6,516 Kb |
FourPerfectlyRoundCircles | 5,772 Kb |
Random Paint | 2,444 Kb |
Border loading indicators | 3,025 Kb |
Pure CSS Jalousien | 2,238 Kb |
Pentagon loading indicator | 2,371 Kb |
Background-blend-mode Test | 4,744 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 |
CSS3 iPad | Vikvarg | 1,766 Kb |
3D-box | Parthviroja | 2,346 Kb |
CSS- UI Element States Pseudo-Classes | Tesla809 | 2,206 Kb |
Weather App | OmranAbazid | 2,596 Kb |
Haml Calendar | Katydecorah | 5,643 Kb |
Slider css only | Armandobau | 2,161 Kb |
Week7 replicate | Hwcasis | 1,620 Kb |
Siema - add pagination to prototype | Pawelgrzybek | 2,575 Kb |
Animate elements with fixed gradient | Badabam | 4,406 Kb |
This in constructor context | _shree33 | 1,718 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!