Skip to content

Instantly share code, notes, and snippets.

@aslamhindko
Created October 8, 2016 06:09
Show Gist options
  • Select an option

  • Save aslamhindko/1e63fd1c15bf401e7a3a87e2f6dd29b4 to your computer and use it in GitHub Desktop.

Select an option

Save aslamhindko/1e63fd1c15bf401e7a3a87e2f6dd29b4 to your computer and use it in GitHub Desktop.
YE sab se zarory hain
/*xs*/
@media (min-width: 1px) and (max-width: 767px){ mobile
}
/*sm*/
@media (min-width: 768px) and (max-width: 992px){ tablate
}
/*MD*/
@media (min-width: 992px) and (max-width: 1200px){ desktop
}
/*Lg*/
@media (min-width: 1200px){ desktop
}
<!-- agar har mobile ki media query deni ho tu istarha dege -->
@media (min-width: 1200px){
}
@media only screen and (max-width: 1024px) {
}
@media (min-width: 1px) and (max-width: 767px){
}
@media (min-width: 768px) and (max-width: 992px){
}
@media (min-width: 992px) and (max-width: 1200px){
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 736px) {
}
@media only screen and (max-width: 600px) {
}
@media only screen and (max-width: 667px) {
}
@media only screen and (max-width: 568px) {
}
@media only screen and (max-width: 414px) {
}
@media only screen and (max-width: 375px) {
}
@media only screen and (max-width: 320px) {
}
===================================
Ye Azeem Bhai ki media query hain
===================================
@media (max-width: 1200px) {
}
@media (max-width: 992px) {
}
@media (max-width: 768px) {
}
@media (max-width: 480px) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment