How to set the responsive image on container in default size of image in bootstrap 5?
How to set the responsive image on container in bootstrap 5?
59004-Jan-2022
Updated on 04-Jan-2022
Home / DeveloperSection / Forums / How to set the responsive image on container in bootstrap 5?
How to set the responsive image on container in default size of image in bootstrap 5?
Manish Sharma
04-Jan-2022Responsive Image on container in bootstrap 5
You can set the default size of image on <div> container in your design page of your website page by using the following bootstrap code,
the above image is set its default size on container and if you want to set the specific size of the image then bootstrap 5 provide class the set the size of image like as,
h-100 is use to set the 100% height of image and w-100 is used for 100% width of image