Make a button clickable within a radio button - HTML CSS CSS Form

HTML CSS examples for CSS Form:input radio button

Description

Make a button clickable within a radio 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">

.disable{pointer-events:fill}<!--   w  w w  .java 2 s  .c o  m-->
label{position:relative}
label:after{
   position: absolute;
   content: "";
   width: 100%;
   height: 100%;
   background: transparent;
   top:0;
   left:0;
   right:0;
   bottom:0;
}


      </style> 
 </head> 
 <body> 
  <label> <input type="checkbox"> <button class="disable">button</button> </label>  
 </body>
</html>

Related Tutorials