Skip to content

Instantly share code, notes, and snippets.

@colesnicov
Created September 16, 2019 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colesnicov/6615f5193f0a9a33cf3c55ea11c5a9a4 to your computer and use it in GitHub Desktop.
Save colesnicov/6615f5193f0a9a33cf3c55ea11c5a9a4 to your computer and use it in GitHub Desktop.
Skeleton for responsible CSS...
/**
* Skeleton pro responzivni vzhled HTML stranek.
* Zakladni konstrukce @Media-Rule pro realizaci
* responsivnich HTML stranek
*
* @file responsive.css
* @author Denis Colesnicov <eugustus@gmail.com>
@licence MIT
* @version 1
*/
@charset "UTF-8";
/**
* Relative size definitions
* ------------------------------------
* | MIN | DEVICE | MAX |
* |---------|-------------|----------|
* | 0< | Wath | 480px |
* | 0< | Mobile | 767px |
* | 768px | Tablet | 991px |
* | 992px | Laptop | 1199px |
* | 1200px | Desktop | ... |
* ------------------------------------
*
*/
/** Od 768px */
@media only screen and (min-width: 768px) {
}
/** Od 992px */
@media only screen and (min-width: 992px) {
}
/** Od 1200px */
@media only screen and (min-width: 1200px) {
}
/** Do 480px */
@media only screen and (max-width: 480px) {
}
/** Do 767px */
@media only screen and (max-width: 767px) {
}
/** Do 767px */
@media only screen and (max-width: 991px) {
}
/** Do 1200px */
@media only screen and (max-width: 1199px) {
}
/** Od 768px do 991px */
@media only screen and (min-width: 768px) and (max-width: 991px) {
}
/** Od 992px do 1199px */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
}
/** Od 1200px */
@media only screen and (min-width: 1200px) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment