Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
  <div class="container">
    <h2>Explanation</h2>
    <div class="box">Click on the + labels to expand the <span>section</span> nodes below.  I've tested on Chrome, Firefox, Opera, and Safari on Mac; I've tested it in IE 9, Chrome, and Firefox on Windows; and I've tested it on my integrated browser on my (ancient) android, which I believe is also typekit.  Only Chrome and Safari (both platforms) and the android browser don't expand the content blocks, but chrome does indicate that the current style is <span>display:block</span>.</div>
    
    <h2>Demo</h2>
    <div class="box">
      <input id="c1" type="checkbox">
      <div>
        <label for="c1">Ein</label>
        <section>Content</section>
      </div>
      
      <input id="c2" type="checkbox">
      <div>
        <label for="c2">Zwei</label>
        <section>Content</section>
      </div>
            
      <input id="c3" type="checkbox">
      <div>
        <label for="c3">Drei</label>
        <section>Content</section>
      </div>
    </div>
  </div>
</body>
</html>
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers