"have a transparent div on an image html" Code Answer's
You're definitely familiar with the best coding language CSS that developers use to develop their projects and they get all their queries like "have a transparent div on an image html" answered properly. Developers are finding an appropriate answer about have a transparent div on an image html related to the CSS coding language. By visiting this online portal developers get answers concerning CSS codes question like have a transparent div on an image html. Enter your desired code related query in the search bar and get every piece of information about CSS code related question on have a transparent div on an image html.
css opacity example
.opacity30 {
opacity: 0.3;
filter: alpha(opacity=30); /* For IE8 and earlier */
}
have a transparent div on an image html
<html>
<head>
<style type="text/css">
div.imageSub { position: relative; }
div.imageSub img { z-index: 1; }
div.imageSub div {
position: absolute;
left: 15%;
right: 15%;
bottom: 0;
padding: 4px;
height: 16px;
line-height: 16px;
text-align: center;
overflow: hidden;
}
div.imageSub div.blackbg {
z-index: 2;
background-color: #000;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=50);
opacity: 0.5;
}
div.imageSub div.label {
z-index: 3;
color: white;
}
</style>
</head>
<body>
<div class="imageSub" style="width: 300px;"> <!-- Put Your Image Width -->
<img src="image.jpg" alt="Something" />
<div class="blackbg"></div>
<div class="label">Label Goes Here</div>
</div>
</body>
</html>
Source: stackoverflow.com
All those coders who are working on the CSS based application and are stuck on have a transparent div on an image html can get a collection of related answers to their query. Programmers need to enter their query on have a transparent div on an image html related to CSS code and they'll get their ambiguities clear immediately. On our webpage, there are tutorials about have a transparent div on an image html for the programmers working on CSS code while coding their module. Coders are also allowed to rectify already present answers of have a transparent div on an image html while working on the CSS language code. Developers can add up suggestions if they deem fit any other answer relating to "have a transparent div on an image html". Visit this developer's friendly online web community, CodeProZone, and get your queries like have a transparent div on an image html resolved professionally and stay updated to the latest CSS updates.