"Article Projet"
Bootstrap 3.3.0 Snippet by ZeickN

<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 corps"> <div class="row" > <div class="col-lg-8 contenuCentre"> <div class="row contenuFeatured"> <div class="panel" style=" margin-right:15px; margin-left:15px;"><center><h3>A la une</h3></center></div> <div class="col-lg-6"> <a href="#" class="thumbnail "> <img class="imgfeatured " src="https://cdn.arstechnica.net/wp-content/uploads/2016/02/5718897981_10faa45ac3_b-640x624.jpg" > </a> </div> <div class="col-lg-6"> <a href="#" class="thumbnail"> <img class="imgfeatured " src="https://cdn.arstechnica.net/wp-content/uploads/2016/02/5718897981_10faa45ac3_b-640x624.jpg" > </a> </div> <div class="col-lg-6"> <a href="#" class="thumbnail"> <img class="imgfeatured " src="https://cdn.arstechnica.net/wp-content/uploads/2016/02/5718897981_10faa45ac3_b-640x624.jpg" > </a> </div> <div class="col-lg-6"> <a href="#" class="thumbnail"> <img class="imgfeatured " src="https://cdn.arstechnica.net/wp-content/uploads/2016/02/5718897981_10faa45ac3_b-640x624.jpg" > </a> </div> </div> <div class=" row actualité"> <div class="row contenuArticles"> <div class="panel"><center><h3>Fil info</h3></center></div> <div class="row article" > <div class="media"> <div class="col-lg-3"> <img class="imgtitreartcile img-rounded" src="https://cdn.arstechnica.net/wp-content/uploads/2016/02/5718897981_10faa45ac3_b-640x624.jpg" > </div> <div class="media-body col-lg-9"> <h5 class="mt-0">Media heading</h5> <p> Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.</p> <div class="more label"><a href="#">Lire l'article</a></div> <div class="btn-group "> <button class="btn btn-default"> Divers</button> <button class="btn btn-default"> Actualité</button> <button class="btn btn-default"> Politique</button> </div> </div> </div> </div> <div class="row article" onmouseover="active(event)" > <div class="media"> <div class="col-lg-3"> <img class="imgtitreartcile img-rounded" src="https://s3-us-west-1.amazonaws.com/powr/defaults/image-slider1.jpg" > </div> <div class="media-body col-lg-9"> <h5 class="mt-0">Media heading</h5> <p> Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.</p> <div class="more label"><a href="#">Lire l'article</a></div> <div class="btn-group"> <a class="btn btn-default"> Divers</a> <a class="btn btn-default"> Actualité</a> <a class="btn btn-default"> Politique</a> </div> </div> </div> </div> </div> </div> </div> <div class="col-lg-4 sidebardRight"> <ul class="list-group"> <li class="list-group-item"><center><h4>Catégories</h4></center></li> <li class="list-group-item"><a>Gaming</a><span class="badge">12</span></li> <li class="list-group-item"><a>PC</a> <span class="badge">5</span></li> <li class="list-group-item"><a>Actualitées</a> <span class="badge">3</span></li> </ul> </div> </div> </div>
.imgtitreartcile { width: 160px; height: 160px; } .imgfeatured{ width: 50%; height: 50%; } .more.label { float:right; } .contenuCentre{ margin-top:10px; } .sidebardRight{ margin-top:10px; } .contenuFeatured { background-color: transparent; background-image: url('http://www.millenium.org/images/layout/shadow-top-v3.png') ; background-repeat: no-repeat; background-position: right top ; } .contenuArticles{ margin-right:15px; margin-left:15px; } .actualité{ background: transparent url('http://www.millenium.org/images/layout/shadow-full-v2.png') repeat-y top right; } .corps{ border: 1px solid #bfc6cb; margin-top: 100px; } .article{ padding: 12px 0 12px 0; padding-top: 12px; padding-right: 0px; padding-bottom: 12px; padding-left: 0px; border-bottom: 1px solid #E5E6E7; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(229, 230, 231); } .article:hover{ background-color: #e1e1e1 ; } .thumbnail:before { content:''; position: absolute; bottom:0px; left: 0px; width: 5px; height: 0px; background: rgba(255,255,255,0.3); border-radius: 5px; transition: all 0.1s ease; } .thumbnail:hover:before { height: 100%; }
function active(event) { var elt = event.target // $(elt).attr('style', 'background-color: blue !important'); }

Related: See More


Questions / Comments: