Bhavesh Vankar

Bhavesh Vankar

  • 753
  • 1.2k
  • 89.4k

Bootstrap Gridllines Center image

Aug 24 2020 7:15 AM
Here is my code i want to do image center but its not align in center i have try all code to do image center but not working please help me in this code...
  1. <div class="events">  
  2. <div class="container">  
  3. <h3 class="name">Vehicles</h3>  
  4. <div class="event-grids">  
  5. <div class="col-md-6 event-grid bg-danger">  
  6. <div class="event-grid_pic img-hover">  
  7. <a href="/Page/Pagename">  
  8. <img src="/images/Image1.jpg" class="img-responsive" alt="" /> </a>  
  9. <h4 class="text-center">Page1</h4>  
  10. </div>  
  11. </div>  
  12. <div class="col-md-6 event-grid bg-success">  
  13. <div class="event-grid_pic img-hover">  
  14. <a href="/Page/Pagename">  
  15. <img src="/images/Image2.jpg" class="img-responsive" alt="" />  
  16. </a>  
  17. <h4>Page2</h4>  
  18. </div>  
  19. </div>  
  20. </div>  
  21. </div>  
  22. </div>  

Answers (3)