CSS3 radio button with CSS content - HTML CSS CSS Form

HTML CSS examples for CSS Form:input radio button

Description

CSS3 radio button with CSS content

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

div:after, input:after {
   content: "foobar";
}


      </style> 
 </head> <!--from w w w  . jav  a 2  s .  c  om-->
 <body> 
  <div>
    wibble 
  </div> 
  <input type="text"> 
  <br> 
  <input type="radio">  
 </body>
</html>

Related Tutorials