HTML CSS examples for CSS Form:input button layout
Adjust button sizes according to screen resolutions
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .tri-button {<!-- w w w.ja v a 2 s . c om--> width: 0; height: 0; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 80px solid black; } </style> </head> <body> <a href="#"> <div class="tri-button"></div> </a> </body> </html>