Create an oblique/sided button - HTML CSS CSS Form

HTML CSS examples for CSS Form:input button style

Description

Create an oblique/sided button

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">

#box {<!--  w w w.ja va 2s .  c  om-->
   display: inline-block;
   border-width: 30px;
   border-style: solid;
   border-top-color: red;
   border-right-color: red;
   border-bottom-color: yellow;
   border-left-color: yellow;
   height: 30px;
}


      </style> 
 </head> 
 <body> 
  <span id="box"></span>  
 </body>
</html>

Related Tutorials