alexe100dra Posted January 15, 2022 Share Posted January 15, 2022 Hello everyone I feel this is an extremely simple question but i haven't found the answer , so i apologize in advance i have to animation to open a menu, i want it to be 100% for smaller screen thank you ! Link to comment Share on other sites More sharing options...
OSUblake Posted January 15, 2022 Share Posted January 15, 2022 You can use matchMedia to to conditionally determine the value to use. https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Testing_media_queries 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now