Three images horizontal w/ responsive design - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Responsive Layout

Description

Three images horizontal w/ responsive design

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">
#grid {<!-- w  w w. j  ava  2s .c  om-->
   padding:0 11px;
   text-align:center;
}

#grid img {
   margin:11px;
   display:inline-block;
}
</style> 
 </head> 
 <body> 
  <div id="grid"> 
   <a href="http://mywebsite.com/info/"> <img src="https://www.java2s.com/style/demo/Google-Chrome.png"> </a> 
   <a href="http://mywebsite.com/about/"> <img src="https://www.java2s.com/style/demo/Google-Chrome.png"> </a> 
   <a href="http://mywebsite.com/contact/"> <img src="https://www.java2s.com/style/demo/Google-Chrome.png"> </a> 
  </div>  
 </body>
</html>

Related Tutorials