fixed header, animated hamburger, CSS Flexbox, CSS Grid

Solution retrospective
Hi, guys! Could you provide me with information, how can i remove elements class depending on screen size using JS?
Also i would like to know how to change CSS styles depending on screeen position (i mean vertical or horisontal)
please, feel free to give me feedback!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @dostonnabotov
Hi, there! That looks great! use
flex-box
. On large screen sizes, setdisplay: flex; flex-direction: row
. And, for smaller screen sizes, you will just change therow
tocolumn
. Also, thegrid
layout works perfectly as well. Hope that it will help. Good luck!
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord