Create a responsive CSS button with extra text - HTML CSS CSS Form

HTML CSS examples for CSS Form:input button text

Description

Create a responsive CSS button with extra text

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

button {<!--from  ww w  .j  a  v  a  2s .  co  m-->
   font-size: 3vw;
   padding: 2vw;
   color: #ffffff;
   background: #903;
   border: 0;
   position: relative;
   padding-right: 8vw;
}
button:before {
   content: '';
   width: 6vw;
   position: absolute;
   right: 0;
   top: 0;
   bottom: 0;
   background: white;
   border: 1px solid #903;
}
button:after {
   content: 'abc';
   position: absolute;
   right: 2vw;
   color: #903;
}


      </style> 
 </head> 
 <body> 
  <button>All Team Members</button>  
 </body>
</html>

Related Tutorials