Make thumbnail overflowing - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Overflow

Description

Make thumbnail overflowing

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
#playlist {<!--  ww w  . j av a2  s . c  o  m-->
   position:absolute;
   display:block;
   border:2px solid Chartreuse;
   height:91%;
   width:31%;
   z-index:3;
   padding:3px;
   margin:3px;
   color:yellow;
}

.thumb img {
   max-height:26%;
   max-width:86%;
   -webkit-border-radius:6px;
   -moz-border-radius:6px;
   border-radius:6px;
   border:3px solid blue;
}
</style> 
 </head> 
 <body> 
  <div id="playlist"> 
   <div class="thumb"> 
    <img src="https://www.java2s.com/style/demo/Firefox.png"> 
   </div> 
   <div class="thumb"> 
    <img src="https://www.java2s.com/style/demo/InternetExplorer.png"> 
   </div> 
   <div class="thumb"> 
    <img src="https://www.java2s.com/style/demo/Safari.png"> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials