123 of 313 menu

The media command

The @media command is intended to import a CSS file into the current style sheet. The following media types can be specified in for this command: all (all types, used by default), print (print devices), screen (screen monitor), speech (speech synthesizers).

Syntax

media media type { }

See also

  • the @import command
    that imports a CSS file
  • the @supports command
    that sets a style for elements whose capabilities are supported by the browser
  • the !important flag
    that sets a style precedence
English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline