WHAT IS MEDIA IN CSS? GIVE THE ANY EXAMPLE OF THEM.

AVADHESH PATEL

Total Post:257

Points:1285
Posted by  AVADHESH PATEL
 1324  View(s)
Ratings:
Rate this:
  1. AVADHESH PATEL

    Post:257

    Points:1285
    what is media in css? Give the any example of them.

    Some CSS properties are only designed for a certain media. For example the "voice-family" property is designed for aural user agents. Some other properties can be used for different media types. For example, the "font-size" property can be used for both screen and print media, but perhaps with different values. A document usually needs a larger font-size on a screen than on paper, and sans-serif fonts are easier to read on the screen, while serif fonts are easier to read on paper.

    example of print media

    http://www.mindstick.com/Articles/83e5fed0-9db4-4b35-b34b-cca8de153655/?Print%20and%20Print%20Preview%20separately%20using%20HTML,%20CSS%20and%20JavaScript

    http://www.mindstick.com/Articles/2bd47a5b-40ea-4ac1-b10e-d17dd2b00865/?CSS%20Printing

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!