HTML CSS examples for CSS Widget:Button
Make a button with multiple borders and drop shadow
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> body {<!--from w ww . j a v a2 s.co m--> background:#999; padding:100px; } a { display:block; width:200px; height:40px; background:#5a81ff; color:#fff; font-size:1.5em; text-align:center; text-decoration:none; border:1px solid #656565; border-top-color:#cacaca; line-height:40px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -webkit-box-shadow: 0px 2px 0px rgba(176, 176, 176, 1); -moz-box-shadow: 0px 2px 0px rgba(176, 176, 176, 1); box-shadow: 0px 2px 0px rgba(176, 176, 176, 1); } </style> </head> <body> <a href="#">I'm button</a> </body> </html>