how do i responsively resize, relative to the width of its parent element, without exceeding its original size?
If you want to make the image responsive with a maximum width then you have to define both width
and maximum-width
on the img
element. E.G., img { width: 100%; maximum-width: 330px }
1 Like
Can you share your code?
1 Like
i solved it but thank you anyway.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.