HTML CSS examples for CSS Form:input button style
Stick button to bottom
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> div{<!-- w w w . j a v a 2 s . c om--> height:800px; text-align:center; } .blue{ background:lightblue; } .green{ background:lightgreen; } button{ position:fixed; bottom:20px; } </style> </head> <body> <div class="blue"> <h2>header</h2> <button>button</button> </div> <div class="green"> <h2>2nd header</h2> </div> </body> </html>