Sounds great! Anyway, it doesn't work if I resize my image manually in CSS with max-width: 50%. In that case, is the paragraph/heading below to dictate div size.
you should not apply max-width:50% to the image. This doesn't make sense because the 50% will be the image size since it's inside a inline-block container. the max-width:50% should be applied to the parent element instead
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Sounds great! Anyway, it doesn't work if I resize my image manually in CSS with
max-width: 50%
. In that case, is the paragraph/heading below to dictatediv
size.you should not apply max-width:50% to the image. This doesn't make sense because the 50% will be the image size since it's inside a inline-block container. the max-width:50% should be applied to the parent element instead