Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiy authored Sep 8, 2024
1 parent 913a7e3 commit 4093dd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion files/en-us/web/css/@custom-media/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
title: "@custom-media"
slug: Web/CSS/@custom-media
page-type: css-at-rule
status:
- experimental
browser-compat: css.at-rules.custom-media
---

{{CSSRef}}
{{CSSRef}}{{SeeCompatTable}}

The **`@custom-media`** CSS [at-rule](/en-US/docs/Web/CSS/At-rule) defines aliases for long and complex [media queries](/en-US/docs/Web/CSS/CSS_media_queries). Instead of using hardcoded {{CSSxRef("@media")}} values, in multiple places and files, custom media query sets a media query in a single line of code.

Expand Down

0 comments on commit 4093dd2

Please sign in to comment.