Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css media query

/* BOOSTRAP MEDIA BREAKPOINTS */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {  
  .selector {
  	background-color:#f00;
  }
}
/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {}
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}
Comment

css media query

@media screen and (min-width: 992px) {   
    .greater-than-large {
    color: red;
    }
}
@media screen and (max-width: 576px) { 
    .less-than-extra-small {
    color: red;
    }
}
@media screen and (min-width: 576px) and (max-width: 992px) { 
    .between-small-and-medium {
    color: red;
    }
}
Comment

iphne media query csss

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  { /* STYLES GO HERE */}
Comment

PREVIOUS NEXT
Code Example
Css :: scss npm import 
Css :: media breakpoints 
Css :: place two div elements next to each other 
Css :: login page design html css 
Css :: option tag center 
Css :: css round image without stretching 
Css :: css background collor 
Css :: how to make bold text css 
Css :: style textarea in css 
Css :: div set text colo0r 
Css :: in flex-wrap remove last item margin for every row 
Css :: css universal reset 
Css :: subtract height css 
Css :: what is em in css 
Css :: remove 000webhost ads 
Css :: css animation-fill-mode 
Css :: nav bar without display:flex 
Css :: scss darken color 
Css :: css disable animation on load 
Css :: box sizing border box 
Css :: align links to right css 
Css :: css set styles for input text 
Css :: em in css 
Css :: css border top linear gradient 
Css :: css counter 
Css :: tailwindcss color change based on variable 
Css :: media queries in scss 
Css :: tailwind css colors not working 
Css :: codemirror resizable 
Css :: how to change color of hyperlink in css 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =