HI Team
I want to create a spaces in between div class container, below is my css style and div class.
/css file
img {
display: block;
max-width: 100%;
height: auto;
margin-bottom: 20px; /* add margin to create space between images */
}
@media (min-width: 768px) {
picture {
width: 100%;
height: 100%;
}
}
// div classes
Discounted Deals
Tuhin PaulPosted Apr 19, 2023, 2:12 AM
Sample Code:
This will add a 20px margin-bottom to all the columns with the class "col-md-6", creating space between the images.
Tuhin PaulPosted Apr 19, 2023, 2:11 AM
To add space between the images inside the container, you can add a margin-bottom property to the "col-md-6" class.
Deepak RawatPosted Apr 18, 2023, 6:53 PM
I use this method try if it can resolve your issue.
Abhishek ChadhaPosted Apr 11, 2023, 2:16 PM
You can use the Margin or padding whichever suited to your requirement