Full Viewport Background Scroll
How do I make an full viewport background scroll?
What is a full viewport background scroll? How do you make a full viewport background scroll? This script and codes were developed by Anthony Adamski on 25 August 2022, Thursday.
Full Viewport Background Scroll - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Full Viewport Background Scroll</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="full-height img-one">
<div class="hero">Full Viewport Backgrounds</div>
</div>
<div class="full-height img-two"> <div class="hero">Fills viewport depending on screen height!</div>
</div>
<link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>
</body>
</html>
Full Viewport Background Scroll - Script Codes CSS Codes
body,html { height:100%;
}
.full-height { height:100%; position:relative; overflow:hidden;
}
.img-one::before{ content:''; position:absolute; top:0;left:0;right:0;bottom:0; background: url('https://unsplash.it/1000') no-repeat center center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; filter: contrast(.75) brightness(.6);
}
.img-two::before{ content:''; position:absolute; top:0;left:0;right:0;bottom:0; background: url('https://unsplash.it/1200') no-repeat center center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; filter: contrast(.75) brightness(.6);
}
.hero{ position:absolute; z-index:20; color:white; font-size:30px; width:400px; font-family: 'Pacifico', cursive; border:5px solid white; text-align:center; padding:50px; left:50%; margin-left:-255px; top:50%; margin-top:-80px;
}
Developer | Anthony Adamski |
Username | anthonyadamski |
Uploaded | August 25, 2022 |
Rating | 3 |
Size | 1,859 Kb |
Views | 34,408 |
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 |
A Pen by Anthony Adamski | 8,174 Kb |
Video Test | 1,835 Kb |
Live resume concept | 4,567 Kb |
Full Viewport Background Scroll | 1,859 Kb |
Cool Page Split Effect | 6,128 Kb |
Cropped Background Images | 1,693 Kb |
Simple CSS3 Slider | 2,839 Kb |
Menu Overflow | 2,280 Kb |
Image Hover Effect | 2,573 Kb |
Jquery Snippets | 2,221 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 |
Get third wednesday | Wojtek1150 | 2,691 Kb |
CSS3 Form | Tusharbandal | 1,836 Kb |
CSS Heart Loaders | Nourabusoud | 2,161 Kb |
SlideupBoxes | Gavra | 23,772 Kb |
Ionic - Wordpress REST API starter | Superpikar | 2,961 Kb |
Monochrome Form | AlienPiglet | 3,096 Kb |
A Pen by Mohomed Anees | Mohomedanees | 12,597 Kb |
Hoi hoi | JohnTheCat | 7,248 Kb |
Weather App | Kw7oe | 3,162 Kb |
Another brick in the wall | Fivera | 1,955 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!