1 2 3 4 5 6 | @media ( min-width : 320px ) { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ } @media ( min-width : 480px ) { /* smartphones, Android phones, landscape iPhone */ } @media ( min-width : 600px ) { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ } @media ( min-width : 801px ) { /* tablet, landscape iPad, lo-res laptops ands desktops */ } @media ( min-width : 1025px ) { /* big landscape tablets, laptops, and desktops */ } @media ( min-width : 1281px ) { /* hi-res laptops and desktops */ } |
Tips | Tricks | C# | ASP.NET | JQuery | Javascript | SQL | Angular | Articles | Electronics
May 16, 2023
Mobile first css media queries
Mobile first css media queries to adjust UI controls for various resolutions: