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 |
Single page concept | 5,640 Kb |
Cool Page Split Effect | 6,128 Kb |
A Pen by Anthony Adamski | 8,174 Kb |
Jquery Snippets | 2,221 Kb |
Cropped Background Images | 1,693 Kb |
Simple CSS3 Slider | 2,839 Kb |
Live CSS Blur | 2,648 Kb |
Video Test | 1,835 Kb |
Menu Overflow | 2,280 Kb |
Work In Progress | 225,703 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 Social Media Icon | TychoBlender | 3,871 Kb |
IbrahimJabbari-Effect14 | Ibrahimjabbari | 1,919 Kb |
A Pen by Stan Williams | Stanssongs | 6,706 Kb |
CSS Colors | Alexpate | 2,232 Kb |
Count checked checkboxes with jQuery | Mestika | 2,343 Kb |
Hard-Stop Gradients | Mackdoyle | 2,288 Kb |
CSS3 Form | Tusharbandal | 1,836 Kb |
CSS Tooltips | Darylldoyle | 2,599 Kb |
The Fantastic Mr Fox | MalZiiirA | 10,435 Kb |
Save for later... | Victorfreire | 1,359 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!