Set position to absolute to bottom - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Absolute Position

Description

Set position to absolute to bottom

Demo Code

ResultView the demo in separate window

<html lang="en">
 <head> 
  <style>
.buy-btn {<!--from   w  w  w .j a v  a 2 s .c  om-->
   position:absolute;
   margin-left:51%;
   margin-right:51%;
   transform:translateX(-51%);
   bottom:11px;
}
</style> 
 </head> 
 <body translate="no"> 
  <input type="button" class="buy-btn" value="hai">  
 </body>
</html>

Related Tutorials