Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script></script>
<meta charset=utf-8 />
<title>demo by roXon</title>
<!--[if IE]>
  <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style>
  article, aside, figure, footer, header, hgroup, 
  menu, nav, section { display: block; }
  body{font: normal 16px/1.2em Arial, Helvetica, sans-serif;color:#444}
  *{margin:0;padding:0;}
  ul{list-style:none;}
  a{text-decoration:none;color:#666;}
  
 
.big input[name=chb] {
    display:none; 
}
  
.big label {
    display:inline-block;
    background-color:red;
    width:120px;
    height:120px;
    padding:5px 10px;
    cursor:pointer;
}
.big input[type="radio"]:checked + label {
    background-color:blue;
    border: 1px #111 solid;
}
  
  
  
</style>
</head>
<body>
  
<div class="big">
   <input id="chb_1" name="chb" type="radio"/>
  <label ><div>This is a div 1 </div>
  </label>   
</div>
<div class="big">
   <input id="chb_2" name="chb" type="radio" />
   <label for="chb_2">This is a div 2 </label>   
</div>
  
  
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers