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
uzlfreshuhi