hi there! π
few tips I packed up for you:
-
strange things happen when you specify
width
andheight
on your elements, especially if you do it on containers. parent elements will adapt in size by default. -
instead of using px for font sizes you should use
rem
orem
(you can look up the difference between the two). by using these, your font sizes will automatically adapt if you change thefont-size
property in your:root
selector within@media
queries. -
you applied
overflow: hidden;
to the image itself, but overflow supposed to be applied to the parent element. essentially overflow doesn't mean 'yeah, just hide my parts if it's overflowing the parent', but it means 'hide the child elements parts if they overflow my area'
Hope this was helpful π
Good luck and happy coding! πͺ
Marked as helpful