Text and button on top of background image - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Button

Description

Text and button on top of background image

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">
.feature_home {<!--from w ww .j  a v  a2s . co m-->
   position:relative;
   display:table-cell;
   vertical-align:bottom;
   text-align:right;
   width:351px;
   height:501px;
   background:red;
}

.feature_image {
   position:absolute;
   top:0;
   left:0;
}
</style> 
 </head> 
 <body> 
  <div class="feature_home"> 
   <img class="feature_image" alt="Thanks For your guys help" src="https://www.java2s.com/style/demo/Google-Chrome.png"> 
   <p class="feature_text">Lorem ipsum dol</p> 
   <a class="feature_button" href="/xyz-101/">Lorem ips</a> 
  </div>  
 </body>
</html>

Related Tutorials