Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<head>
</head>
<body>
    <h1>CSS only Lightbox</h1>
    <p id="prova">Click the thumbs to display the lightbox</p>
    <a href="#img1">
        <img class="thumb" src="http://vignette3.wikia.nocookie.net/dinocrisis/images/d/d5/Velociraptor.JPG/revision/latest?cb=20080319170329">
    </a>
    <!-- lightbox container hidden with CSS -->
    <div class="lightbox" id="img1">
        <a href="#img3" class="light-btn btn-prev">prev</a>
            <a href="#_" class="btn-close">X</a>
            <img src="http://vignette3.wikia.nocookie.net/dinocrisis/images/d/d5/Velociraptor.JPG/revision/latest?cb=20080319170329">
        <a href="#img2" class="light-btn btn-next">next</a>
    </div>
    <a href="#img2">
      <img class="thumb" src="http://www.jplegacy.org/encyc/novel-dinosaurs/Velociraptor.jpg">
    </a>
    <!-- lightbox container hidden with CSS -->
    <div class="lightbox" id="img2">
        <a href="#img1" class="light-btn btn-prev">prev</a>
            <a href="#_" class="btn-close">X</a>
            <img src="http://www.jplegacy.org/encyc/novel-dinosaurs/Velociraptor.jpg">
        <a href="#img3" class="light-btn btn-next">next</a>
    </div>
    <a href="#img3">
      <img class="thumb" src="http://th00.deviantart.net/fs70/PRE/f/2010/356/c/1/velociraptor_by_aerynv-d1t0m7w.jpg">
    </a>
    <!-- lightbox container hidden with CSS -->
    <div class="lightbox" id="img3">
        <a href="#img2" class="light-btn btn-prev">prev</a>
            <a href="#_" class="btn-close">X</a>
            <img src="http://th00.deviantart.net/fs70/PRE/f/2010/356/c/1/velociraptor_by_aerynv-d1t0m7w.jpg">
        <a href="#img1" class="light-btn btn-next">next</a>
    </div>
    <p class="footer">Velociraptor bytes!</p>
</body>
Output

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

Dismiss x
public
Bin info
Cerealkillerwaypro
0viewers