Select Chapter ❯
CSS Tutorial
- CSS Introduction
- CSS Syntax
- CSS Insert CSS
- CSS Backgrounds
- CSS Text
- CSS Dimensions
- CSS Border
- CSS Margin
- CSS Padding
- CSS Display
- CSS Positioning
- CSS Float
- CSS Pseudo-Class
- CSS Opacity
- CSS Media Types
CSS3 Tutorial
CSS Media Types
Media Types is very important feature of style sheets with the help of this we can set different layout for different screen and screen sizes for eg screen, print, mobile, tablet, television etc.
We can use different media type in single style sheets
Syntax of Media Types
@media screen { div { font-family: verdana,sans-serif; font-size: 15px; } } @media print { div { font-size: 18px; font-style:italic; } }
Other Media Types
❮ PrevNext ❯