Design comparison
Solution retrospective
*) I encounter challenge to put @media query in CSS , and I try this many time but it doesn't work. **) Then I search about it , I get answer -->> beacuse of this code line [ ] , I cannot see apply of media query or I write wrong code.
***) I hope this will be true , if it is not , please give me your feedback !!
What specific areas of your project would you like help with?-
I like to get help in @media query area .
I put this code in my style.CSS -->>
[ /* for mobile */
@media screen and (max-width: 375px) {
[class*="Qr-code"]{
height: 100%;
}
}
/* for desktop */
@media screen and (max-width: 1440px) {
[class*="Qr-code"]{
height: 70vh;
}
} ]
or you can see this in my git repo
I cannot see this code applying my code if I am wrong someplace , please correct me or help me to come out from this( how to use @mediaquery or make responsive website).
Community feedback
- @SadikibendaPosted 5 months ago
Well done , but it was not necessary to start working on media query on this project, this project was meant for you just working on card making sure your solution resemble the design. There are more upcoming project that will require media queries. But you tried your best and you did well congratulations 🎊. The link below is what I read below working on my latest project that required media queries “ https://www.w3schools.com/css/css_rwd_mediaqueries.asp”.
I hope this was helpful
Marked as helpful1
Please log in to post a comment
Log in with GitHubJoin 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