@TiyyoSubmitted over 2 years ago
I'm having some issues with image resizing. it does not fill all the available space in the container at some width, i don't understand why
I'm having some issues with image resizing. it does not fill all the available space in the container at some width, i don't understand why
First make the div with your required width and height and give it a border-radius value using CSS....
Now put the image inside the div you made..
Then you give the image the half width of the div and the same height of the div so that the image can fit there. ( you can also use position property to set the image perfectly..)
Now you add CSS in the image - * border-radius-top-right: 100% ; * border-radius-bottom-right: 100% ;
Don't forget to add a "class" to every element, it will help you to add CSS on the elements.