Text over the image/button - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Button

Description

Text over the image/button

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">
.button {<!--from w  w  w  . j a va  2 s.c  o m-->
   padding:11px;
   background-color:Chartreuse;
   color:yellow;
   text-align:center;
   border-radius:6px;
}
</style> 
 </head> 
 <body> 
  <div class="button">
    Lorem ip 
  </div>  
 </body>
</html>

Related Tutorials