centre responsive images - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Responsive Layout

Description

centre responsive images

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">
.container-fluid2 {<!--   www.  j a  v  a 2  s.c  om-->
   text-align:center;
}
</style> 
 </head> 
 <body> 
  <div class="container-fluid2"> 
   <img src="https://www.java2s.com/style/demo/InternetExplorer.png" alt="Placeholder image" width="90" class="img-responsive-icon"> 
   <img src="https://www.java2s.com/style/demo/Firefox.png" alt="Placeholder image" width="85" class="img-responsive-icon"> 
   <img src="https://www.java2s.com/style/demo/Google-Chrome.png" alt="Placeholder image" width="72" class="img-responsive-icon"> 
  </div>  
 </body>
</html>

Related Tutorials