"Collapsed Pictures"
Bootstrap 3.3.0 Snippet by Marnoweb

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="col-md-4"> <!-- PicONe --> <div class="well"> <a data-toggle="collapse" href="#one" aria-expanded="true" aria-controls="one"> <img src="http://placehold.it/320x120" alt="pic_1" class="img-rounded active"> </a> </div> <div class="well"> <a data-toggle="collapse" href="#two" aria-expanded="true" aria-controls="two"> <img src="http://placehold.it/320x120" alt="pic_2" class="img-rounded"> </a> </div> <div class="well"> <a data-toggle="collapse" href="#three" aria-expanded="true" aria-controls="three"> <img src="http://placehold.it/320x120" alt="pic_2" class="img-rounded"> </a> </div> </div> <div class="col-md-7 col-md-offset-1"> <div id="one" class="panel-collapse collapse in " role="tabpanel" aria-labelledby="one"> <div class="panel-body"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </div> </div> <div id="two" class="panel-collapse collapse " role="tabpanel" aria-labelledby="two"> <div class="panel-body"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </div> </div> <div id="three" class="panel-collapse collapse " role="tabpanel" aria-labelledby="two"> <div class="panel-body"> Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS. </div> </div> </div> </div>
[href="#one"]:focus img{ border:5px solid green; } [href="#two"]:focus img{ border:5px solid blue; } [href="#three"]:focus img{ border:5px solid red; } a:focus img{ transition:all 500ms ease; } #one.in { border:5px solid green; } #two.in { border:5px solid blue; } #three.in { border:5px solid red; }

Related: See More


Questions / Comments: