CSS3 के साथ इमेज में अपारदर्शिता लागू करने के लिए, फ़िल्टर प्रॉपर्टी के लिए अपारदर्शिता मान का उपयोग करें।
उदाहरण
आइए एक उदाहरण देखें -
<!DOCTYPE html>
<html>
<head>
<style>
img.demo {
filter: opacity(60%);
}
</style>
</head>
<body>
<h1>Learn Spring Framework</h1>
<img src="https://www.tutorialspoint.com/spring/images/spring-mini-logo.jpg" alt="Spring Framework" width="160" height="150">
<h1>Learn Spring Framework</h1>
<img class="demo" src="https://www.tutorialspoint.com/spring/images/spring-mini-logo.jpg" alt="Spring Framework" width="160" height="150">
</body>
</html> आउटपुट
