Image header overlay

Developer
Size
2,188 Kb
Views
22,264

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 Previews

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 );
}
Image header overlay - Script Codes
Image header overlay - Script Codes
Home Page Home
Developer Mitch Pruitt
Username mitchdot
Uploaded November 08, 2022
Rating 3
Size 2,188 Kb
Views 22,264
Do you need developer help for Image header overlay?

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!

Mitch Pruitt (mitchdot) Script Codes
Create amazing marketing copy with AI!

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!