When hardcoding a media query into an ASP.NET Razor page file, you need to use @@
instead of @
to ensure the query is rendered correctly.
Using media queries in razor page files

…standing on the shoulders of giants…
When hardcoding a media query into an ASP.NET Razor page file, you need to use @@
instead of @
to ensure the query is rendered correctly.
Leave a Reply