Media Query
Renders content according to whether a CSS media query matches.
This window is narrower than 1024 pixels wide. Resize it to see the text change.
MediaQuery watches a media query: its content renders with whether the
query matches, again whenever that changes. Until the browser has answered, and while prerendering,
DefaultMatches applies.
Anatomy
@using Blazix.Primitives
<MediaQuery Query="(prefers-reduced-motion: reduce)" Context="reduced">
...
</MediaQuery>API Reference
MediaQuery
Doesn't render its own HTML element.