Image header overlay
How do I make an image header overlay?
What is a image header overlay? How do you make a image header overlay? This script and codes were developed by Mitch Pruitt on 08 November 2022, Tuesday.
Image header overlay - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Image header overlay</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <body class="gradient"> <div class="logo"><span class="fontawesome-eye-open"></span></div> <div class="img-post"> <span class="title"><h2>Grid</h2></span> <img src="http://payload175.cargocollective.com/1/0/128/5816292/B_905.jpg" /> </div> <div class="img-post"> <span class="title"><h2>Blocks</h2></span> <img src="https://media.tumblr.com/tumblr_lf882h6tCy1qamm7n.jpg" /> </div> <div class="img-post"> <span class="title"><h2>Sauce</h2></span> <img src="http://www.rosenworld.com/wp-content/uploads/2008/10/worcester-570x590.jpg" /> </div>
</body>
</body>
</html>
Image header overlay - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Oswald:300);
@import url(http://weloveiconfonts.com/api/?family=fontawesome);
.logo { font-family: 'FontAwesome', sans-serif; text-align: center; font-size: 60px; color: rgba(69,69,69,.5); line-height: 100px; /*text-shadow: 1px 1px 1px rgba(255,255,255,1);*/ width: 100px; height: 100px; margin: auto; -webkit-border-radius: 50px; -moz-border-radius: 50px; border-radius: 50px; background-color: rgba(69,69,69,.1);
}
.img-post { position: relative; width: 600px; margin: 20px auto; padding: 0;
}
img { width: 100%; -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
-moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
}
.title { position: absolute; top: 20px; margin: 0; padding: 10px; background-color: rgba(109,109,109,1); /*Rounded corners*/ -webkit-border-top-right-radius: 4px; -webkit-border-bottom-right-radius: 4px; -moz-border-radius-topright: 4px; -moz-border-radius-bottomright: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px;
}
h2 { line-height: 0px; color: #fff; font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 16px;
}
.gradient { background: rgba(209,209,209,1);
background: -moz-linear-gradient(top, rgba(209,209,209,1) 0%, rgba(69,69,69,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(209,209,209,1)), color-stop(100%, rgba(69,69,69,1)));
background: -webkit-linear-gradient(top, rgba(209,209,209,1) 0%, rgba(69,69,69,1) 100%);
background: -o-linear-gradient(top, rgba(209,209,209,1) 0%, rgba(69,69,69,1) 100%);
background: -ms-linear-gradient(top, rgba(209,209,209,1) 0%, rgba(69,69,69,1) 100%);
background: linear-gradient(to bottom, rgba(209,209,209,1) 0%, rgba(69,69,69,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d1d1d1', endColorstr='#454545', GradientType=0 );
}
Developer | Mitch Pruitt |
Username | mitchdot |
Uploaded | November 08, 2022 |
Rating | 3 |
Size | 2,188 Kb |
Views | 22,264 |
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 |
Snazzy fixed backgrounds | 4,927 Kb |
Image caption overlay | 2,107 Kb |
Zoomy image rollover | 2,764 Kb |
A Pen by Mitch Pruitt | 2,416 Kb |
Simple responsive drop-down menu | 2,178 Kb |
Off-screen navigation | 5,220 Kb |
Flexbox-based responsive menu | 3,589 Kb |
The Iron Triangle | 2,997 Kb |
Underlined form fields | 2,323 Kb |
Animated camera focus ring | 3,305 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 |
Ball bouncing loading animation | Adam2326 | 3,144 Kb |
Cloud upload | Jaflo | 2,774 Kb |
C.Rowe Button | Brownerd | 2,473 Kb |
Simple Flat Menu | Jeplaa | 2,467 Kb |
Fixed Scrolling Nav Bar | Philsinatra | 0 Kb |
Shopping List | Markmurray | 6,015 Kb |
CSS3 Snow Animation | NickyCDK | 1,695 Kb |
Magnus 3 | ARocketfish | 7,944 Kb |
Multi-step GSAP animation | Acacheung | 2,668 Kb |
Two Element Typeface | Chrisota | 4,942 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!