Created
September 14, 2021 14:05
-
-
Save ebenezerugo/2af1ec211aeba1f80b565281695b80bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
You can also customize the screen size based on your requirements. | |
*/ | |
/* | |
- Device -> Desktops | |
- Screen -> From 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
/* Your CSS */ | |
} | |
/* | |
- Device -> Laptops, Desktops | |
- Screen -> Between 1025px to 1280px | |
*/ | |
@media (min-width: 1025px) and (max-width: 1280px) { | |
/* Your CSS */ | |
} | |
/* | |
- Device -> Tablets, Ipads (portrait) | |
- Screen -> Between 768px to 1024px | |
*/ | |
@media (min-width: 768px) and (max-width: 1024px) { | |
/* Your CSS */ | |
} | |
/* | |
- Device -> Tablets, Ipads (landscape) | |
- Screen -> Between 768px to 1024px | |
*/ | |
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) { | |
/* Your CSS */ | |
} | |
/* | |
- Device -> Low Resolution Tablets, Mobiles (Landscape) | |
- Screen -> Between 481px to 767px | |
*/ | |
@media (min-width: 481px) and (max-width: 767px) { | |
/* Your CSS */ | |
} | |
/* | |
- Device -> Most of the Smartphones Mobiles (Portrait) | |
- Screen -> Between 320px to 479px | |
*/ | |
@media (min-width: 320px) and (max-width: 480px) { | |
/* Your CSS */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment