Last active
April 20, 2023 07:36
-
-
Save mucahitnezir/0af5cfb23055f8d45f25328befd4d024 to your computer and use it in GitHub Desktop.
width ranges for responsive web design
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
/* This width range is for smartphone (tr: akıllı telefonlar için) */ | |
@media (max-width: 767px) { | |
.container { width: auto; } | |
/* your other css codes */ | |
} | |
/* This width range is for tablet (tr: tabletler için) */ | |
@media (min-width: 768px) and (max-width: 991px) { | |
.container { width: 730px; } | |
/* your other css codes */ | |
} | |
/* This width range is for medium pc screens (tr: orta ekranlı pc için) */ | |
@media (min-width: 992px) and (max-width: 1199px) { | |
.container { width: 960px; } | |
/* your other css codes */ | |
} | |
/* This width range is for large pc screens (tr: geniş ekranlı pc için) */ | |
@media (min-width: 1200px) { | |
.container { width: 1100px; } | |
/* your other css codes */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment