css tricks media queries
CSS
/* ----------- iPhone 4 and 4S ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px)
and (-webkit-min-device-pixel-ratio: 2) {
}
/* Portrait */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait) {
}
/* Landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 480px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {
}
/* ----------- iPhone 5, 5S, 5C and 5SE ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (-webkit-min-device-pixel-ratio: 2) {
}
/* Portrait */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait) {
}
/* Landscape */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {
}
/* ----------- iPhone 6, 6S, 7 and 8 ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2) {
}
/* Portrait */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: portrait) {
}
/* Landscape */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {
}
/* ----------- iPhone 6+, 7+ and 8+ ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 414px)
and (max-device-width: 736px)
and (-webkit-min-device-pixel-ratio: 3) {
}
/* Portrait */
@media only screen
and (min-device-width: 414px)
and (max-device-width: 736px)
and (-webkit-min-device-pixel-ratio: 3)
and (orientation: portrait) {
}
/* Landscape */
@media only screen
and (min-device-width: 414px)
and (max-device-width: 736px)
and (-webkit-min-device-pixel-ratio: 3)
and (orientation: landscape) {
}
/* ----------- iPhone X ----------- */
/* Portrait and Landscape */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 812px)
and (-webkit-min-device-pixel-ratio: 3) {
}
/* Portrait */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 812px)
and (-webkit-min-device-pixel-ratio: 3)
and (orientation: portrait) {
}
/* Landscape */
@media only screen
and (min-device-width: 375px)
and (max-device-width: 812px)
and (-webkit-min-device-pixel-ratio: 3)
and (orientation: landscape) {
}
Also in CSS:
- Title
- css responsive
- Category
- CSS
- Title
- Node.js: printing to console without a trailing newline
- Category
- CSS
- Title
- css reset
- Category
- CSS
- Title
- css preprocessor
- Category
- CSS
- Title
- striped tables css
- Category
- CSS
- Title
- css border width
- Category
- CSS
- Title
- css vertical align middle
- Category
- CSS
- Title
- print zend db select query to string
- Category
- CSS
- Title
- html5 video hide timeline
- Category
- CSS
- Title
- horizontal list css
- Category
- CSS
- Title
- css animations examples
- Category
- CSS
- Title
- how long ago was 1993 years
- Category
- CSS
- Title
- text overflow ellipsis css
- Category
- CSS
- Title
- css doesnt update
- Category
- CSS
- Title
- css light grey
- Category
- CSS
- Title
- installer scss projet wordpress
- Category
- CSS
- Title
- background color
- Category
- CSS
- Title
- css stop scrollbar
- Category
- CSS
- Title
- bootstrap btn classes
- Category
- CSS
- Title
- css one line
- Category
- CSS
- Title
- laavel relation through morph
- Category
- CSS
- Title
- no select css
- Category
- CSS
- Title
- font family css
- Category
- CSS
- Title
- css border shorthand
- Category
- CSS
- Title
- css border botttom
- Category
- CSS
- Title
- css last child with class
- Category
- CSS
- Title
- flex wrap css
- Category
- CSS
- Title
- update data in firestore
- Category
- CSS
- Title
- css first child
- Category
- CSS
- Title
- reduire espace entre ligne css
- Category
- CSS
- Title
- comentarios en archivo scss
- Category
- CSS
- Title
- text shadow css generator
- Category
- CSS
- Title
- Get Theme from URL Parameter and enable CSS theme
- Category
- CSS
- Title
- text-align attribute in css
- Category
- CSS
- Title
- how to scroll fixed position
- Category
- CSS
- Title
- DISABLE the Horizontal Scroll
- Category
- CSS
- Title
- css php
- Category
- CSS
- Title
- unselectable css property
- Category
- CSS
- Title
- text-decoration css
- Category
- CSS
- Title
- css align text
- Category
- CSS
- Title
- javascript alternative to jquery css
- Category
- CSS
- Title
- html5 video hide progress bar
- Category
- CSS
- Title
- + selector css
- Category
- CSS
- Title
- como fazer listrada css
- Category
- CSS
- Title
- ms-clear event
- Category
- CSS
- Title
- chat bot with a floating button html and css
- Category
- CSS
- Title
- how to fade out images html css
- Category
- CSS
- Title
- custom border css
- Category
- CSS
- Title
- background image overlay
- Category
- CSS
- Title
- formatting checkbox css
- Category
- CSS
- Title
- css all uppercase to capitalize
- Category
- CSS
- Title
- css remove border input focus
- Category
- CSS
- Title
- how to make gradient backgroud cover whole page in html
- Category
- CSS
- Title
- ionic css not working for innerHTML
- Category
- CSS
- Title
- text color as gradient css
- Category
- CSS
- Title
- background-image: image css
- Category
- CSS
- Title
- flex wrap tailwind
- Category
- CSS
- Title
- overlay in css
- Category
- CSS
- Title
- react exact path highlight
- Category
- CSS
- Title
- rotate image html
- Category
- CSS
- Title
- CKEDITOR PUSH TEXT IN FRONT OF CURSOR
- Category
- CSS
- Title
- ref css in jsp
- Category
- CSS
- Title
- css remove list indent
- Category
- CSS
- Title
- add own image in cursor using css
- Category
- CSS
- Title
- stop text from wrapping
- Category
- CSS
- Title
- materialize customize container
- Category
- CSS
- Title
- css center image horizontal and vertical flexbox
- Category
- CSS
- Title
- style disabled button
- Category
- CSS
- Title
- how to change color of svg with css
- Category
- CSS
- Title
- vuetify background color
- Category
- CSS
- Title
- how to change the background color in css
- Category
- CSS
- Title
- bootstrap.min.css
- Category
- CSS
- Title
- css background offset
- Category
- CSS
- Title
- css transition
- Category
- CSS
- Title
- textview android text align center
- Category
- CSS
- Title
- css table border-collapse
- Category
- CSS
- Title
- css padding vs margin
- Category
- CSS
- Title
- how to make a fullscreen button an an iframe
- Category
- CSS
- Title
- center h1 css
- Category
- CSS
- Title
- blink css button
- Category
- CSS
- Title
- i need show the message for when we are clicking routing page in anularjs
- Category
- CSS
- Title
- red asterix css
- Category
- CSS
- Title
- margin 0 auto
- Category
- CSS
- Title
- css selectors w3schools
- Category
- CSS
- Title
- css quitar el icono de lista
- Category
- CSS
- Title
- word spacing css
- Category
- CSS
- Title
- font-weight css
- Category
- CSS
- Title
- pourquoi mon css ne fonctionne pas quand je recharge la page
- Category
- CSS
- Title
- absolute path and relative path
- Category
- CSS
- Title
- css grid area
- Category
- CSS
- Title
- transform rotate css
- Category
- CSS
- Title
- change css to scss angular
- Category
- CSS
- Title
- bootstrap 4 mobile media query
- Category
- CSS
- Title
- how to serve css through go
- Category
- CSS
- Title
- why tr border not showing
- Category
- CSS
- Title
- comments in css
- Category
- CSS
- Title
- position an icon in relation a parent element
- Category
- CSS
- Title
- two classes css modules
- Category
- CSS
- Title
- how to make round progress bar in css
- Category
- CSS
- Title
- darken image css
- Category
- CSS