add opacity to the H1 text - HTML CSS CSS Property

HTML CSS examples for CSS Property:opacity

Description

add opacity to the H1 text

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
h1 {<!--from   ww  w .  java 2 s.com-->
   color:Chartreuse;
   background:red;
}
</style> 
 </head> 
 <body> 
  <h1>Lorem ipsum dolor sit amet, consect</h1>  
 </body>
</html>

Related Tutorials