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;
}
![Full Viewport Background Scroll - Script Codes](http://shots.codepen.io/anthonyadamski/pen/FrpKI-512.jpg)
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 |
Full Viewport Background Scroll | 1,859 Kb |
Less Utility Classes | 1,786 Kb |
Live CSS Blur | 2,648 Kb |
Responsive Email Template | 3,373 Kb |
Single page concept | 5,640 Kb |
Simple CSS3 Slider | 2,839 Kb |
Image Hover Effect | 2,573 Kb |
Jquery Snippets | 2,221 Kb |
Cool Page Split Effect | 6,128 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 |
CSS Parent Selector | Tomhodgins | 2,143 Kb |
Gradient-ui-button-mark-fx | Tabspace | 1,881 Kb |
Brent Burns Tribute Page | Nevada48 | 2,569 Kb |
Scarlett Johansson Tribute Page | Diomed | 3,233 Kb |
Scroll effect with text with help from Skrollr | Luxonglassing | 2,935 Kb |
Tooltip in table | Roine | 3,713 Kb |
Speech bubbles | Something | 1,547 Kb |
3D flipping card | Ssaakkaa | 2,238 Kb |
404 Page | Saransh | 2,666 Kb |
STIKHOI | Denmch | 7,122 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!