@Demaxs26
Posted
Hi, you did a well job !
For the responsive you just need to define the size of the main box in % or vh instead of px :
.main{ width: 100%; height: 100vh; }
and to not set the size of the card :
.card{ width: fit-content; height: fit-content;
normally with that you dont need to use any media screen so you can just remove them i think
have a nice day !
Marked as helpful
@asimsaeed353
Posted
@Demaxs26 It actually helped and the code is working even without writing media queries. Thanks a lot!