@hafizanadli
Posted
You only set the card width with 35%. So its width always only 35% on its container in every screen, that will ruined when open in small screen. You can set the width with around 90% and also set max-width to some particular size so it won't grow on wider screen.
Great job!
Marked as helpful
@AndreiS22
Posted
@hafizanadli so what you're saying is that in the media query I should set the width to 90%?
@hafizanadli
Posted
@AndreiS22 not in the media query. the default width will be 90%. but you have to set max-width, so when the screen going wider the card width will only grow to that max-width
@AndreiS22
Posted
@hafizanadli, just made the updates you recommended me. It definitely is something else. Thank you for your help! :D