Sooper cool article header image
How do I make an sooper cool article header image?
Uses viewport width/height to make a nice article header image effect thingy, bro. Doesn't work on Firefox, you've been warned.. What is a sooper cool article header image? How do you make a sooper cool article header image? This script and codes were developed by Mitch Pruitt on 08 November 2022, Tuesday.
Sooper cool article header image - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Sooper cool article header image</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ @import url(https://fonts.googleapis.com/css?family=Roboto:200);
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
header { display: table; width: 100vw; height: 100vh; background: url(http://cdn.ghostly.com/images/wallpapers/Gilmore_Wallpaper_5.jpg) no-repeat center center fixed; background-size: cover;
}
header .logo { display: table-cell; text-align: center; vertical-align: middle; height: 75vh; /*margin: auto; padding-top: 25%;*/
}
header .logo img { width: auto; height: 30%;
}
article { background-color: #0a0a0a; padding: 2em;
}
article p { color: #c8c8c8; font-size: 1.2em; line-height: 1.45em; letter-spacing: .05em; font-family: 'Roboto', sans-serif; text-indent: 1em; font-weight: 200;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <header> <div class="logo"> <img src="https://dl.dropboxusercontent.com/u/32897304/circlem.svg" /> </div>
</header>
<article> <p>Nullam quis risus eget urna mollis ornare vel eu leo. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Aenean lacinia bibendum nulla sed consectetur. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras justo odio, dapibus ac facilisis in, egestas eget quam.</p> <p>Nulla vitae elit libero, a pharetra augue. Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Sed posuere consectetur est at lobortis. </p> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit tempus porttitor. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo.</p> <p>Cras mattis consectetur purus sit amet fermentum. Nulla vitae elit libero, a pharetra augue. Nulla vitae elit libero, a pharetra augue. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ullamcorper nulla non metus auctor fringilla.</p> <p>Nullam quis risus eget urna mollis ornare vel eu leo. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Aenean lacinia bibendum nulla sed consectetur. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras justo odio, dapibus ac facilisis in, egestas eget quam.</p> <p>Nulla vitae elit libero, a pharetra augue. Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas sed diam eget risus varius blandit sit amet non magna. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Sed posuere consectetur est at lobortis. </p> <p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit tempus porttitor. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. Nullam quis risus eget urna mollis ornare vel eu leo.</p> <p>Cras mattis consectetur purus sit amet fermentum. Nulla vitae elit libero, a pharetra augue. Nulla vitae elit libero, a pharetra augue. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec ullamcorper nulla non metus auctor fringilla.</p>
</article> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Sooper cool article header image - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Roboto:200);
*, *:before, *:after { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
header { display: table; width: 100vw; height: 100vh; background: url(http://cdn.ghostly.com/images/wallpapers/Gilmore_Wallpaper_5.jpg) no-repeat center center fixed; background-size: cover;
}
header .logo { display: table-cell; text-align: center; vertical-align: middle; height: 75vh; /*margin: auto; padding-top: 25%;*/
}
header .logo img { width: auto; height: 30%;
}
article { background-color: #0a0a0a; padding: 2em;
}
article p { color: #c8c8c8; font-size: 1.2em; line-height: 1.45em; letter-spacing: .05em; font-family: 'Roboto', sans-serif; text-indent: 1em; font-weight: 200;
}
Developer | Mitch Pruitt |
Username | mitchdot |
Uploaded | November 08, 2022 |
Rating | 3.5 |
Size | 3,583 Kb |
Views | 42,504 |
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 |
Underlined form fields | 2,323 Kb |
A Pen by Mitch Pruitt | 2,416 Kb |
Off-screen navigation | 5,220 Kb |
Flexbox-based responsive menu | 3,589 Kb |
Segmented control | 3,759 Kb |
Zoomy image rollover | 2,764 Kb |
Flexbox quote box | 3,441 Kb |
ASCII triangle image overlay | 2,200 Kb |
Animated camera focus ring | 3,305 Kb |
Threadless-style rollover menu | 2,195 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 |
Simple Weather App | Cmwebby | 0 Kb |
Electric worm | Jeffibacache | 2,377 Kb |
JQuery Validate checkbox group | Lunaman | 2,466 Kb |
Simple Buttons | Haydenmills | 1,750 Kb |
Svg penguin | _massimo | 2,990 Kb |
RAQuote | Naderk007 | 4,412 Kb |
Adding Items | Valhead | 4,008 Kb |
Search Box in Content Moves to Fixed Header | Chriscoyier | 2,768 Kb |
Calculator - codevember 08 - 2016 | Caiocares | 3,260 Kb |
A Pen by utcwebdev | Utcwebdev | 2,856 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!