Bootstrap--The media properties of CSS

Source: Internet
Author: User

The following code is implemented: the maximum width of the device is 767px, when the device width is greater than 767px background color is #000, otherwise is #f00, the code is as follows:

<!doctype html>

below we extend the media slightly:

CSS Media Properties

Screen: Refers to computer screens.
Print: Refers to the opaque media used for the printer.
Projection: Refers to the item used for display.
Braille: A Braille system that refers to a printed matter with tactile effects.
Aural: Refers to the speech electronic synthesizer.
TV: Refers to the television type of media.
Handheld: Refers to handheld display device (small screen, monochrome)
All: Suitable for all media.


Bootstrap--The media properties of CSS

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.