Layout 3 images side by side in a div growing and shrinking with window - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Image

Description

Layout 3 images side by side in a div growing and shrinking with window

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <title>Responsive images test</title> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
img {<!--   w ww  .  jav  a2  s .  co  m-->
   position:relative;
   float:left;
   max-width:34.4%;
}
</style> 
 </head> 
 <body> 
  <div id="mobileNavHeader"> 
   <div> 
    <a href="#mobileNav"> <img src="https://www.java2s.com/style/demo/InternetExplorer.png" id="mobileNavButton"> </a> 
    <img src="https://www.java2s.com/style/demo/Opera.png" id="mobileLogo"> 
    <a href="#"> <img src="https://www.java2s.com/style/demo/Google-Chrome.png" id="mobileSearch"> </a> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials