1718450063

Which mediaquery values to use for a responsive website?


I see this problem in many fontend programmers and in fact many still don't know which values to use for the different screens. I've tried using these ```css /* Default styles for all devices */ /* Styles for PC and large screens */ @media screen and (min-width: 1200px) { /* Your CSS styles for PCs and large screens here */ } /* Styles for tablets */ @media screen and (min-width: 768px) and (max-width: 1199px) { /* Your CSS styles for tablets here */ } /* Styles for mobile devices */ @media screen and (max-width: 767px) { /* Your CSS styles for mobile devices here */ } /* Styles for TVs and larger screens */ @media screen and (min-width: 1920px) { /* Your CSS styles for TVs and larger screens here */ } ``` but I still get some errors when framing certain items in the application layout. So how have you overcome this?

(0) Comments

Welcome to Chat-to.dev, a space for both novice and experienced programmers to chat about programming and share code in their posts.

About | Privacy | Terms | Donate
[2024 © Chat-to.dev]