Yahoo España Búsqueda web

Search results

  1. www.w3schools.com › cssref › css3_pr_mediaqueryCSS @media Rule - W3Schools

    The @media rule is used in media queries to apply different styles for different media types/devices. Media queries can be used to check many things, such as: width and height of the viewport. width and height of the device. orientation (is the tablet/phone in landscape or portrait mode?)

  2. Las media queries se utilizan para lo siguiente: Para aplicar estilos condicionalmente utilizando las reglas de arroba CSS @media e @import. Para segmentar medios específicos para <style>, <link>, <source> y otros HTML con el atributo media=.

  3. La regla-at CSS @media asocia un grupo de declaraciones anidadas, en un bloque CSS delimitado por llaves, con una condición definida por un media query. La regla-at @media puede ser usada no solo en el nivel superior de la hoja de estilos, sino también dentro de cualquier grupo de reglas condicionales. La regla-at @media puede ser accesible ...

  4. Aquí ampliamos la explicación: @media: Esta es la palabra clave que inicia una Media Query. Las Media Queries se utilizan para aplicar estilos CSS de manera condicional, en función de ciertas características del dispositivo o del entorno. (min-width: 600px): Esta es la condición de la Media Query.

  5. 2 de oct. de 2020 · CSS Media queries are a way to target browser by certain characteristics, features, and user preferences, then apply styles based on those things.

  6. 30 de abr. de 2024 · The @media CSS at-rule can be used to apply part of a style sheet based on the result of one or more media queries. With it, you specify a media query and a block of CSS to apply to the document if and only if the media query matches the device on which the content is being used.

  7. CSS Media Queries. The @media rule, introduced in CSS2, made it possible to define different style rules for different media types. Media queries in CSS3 extended the CSS2 media types idea: Instead of looking for a type of device, they look at the capability of the device.