use double @@ symbols. That will escape @ symbol and render @media correctly on client side
More Related Contents:
- What is the exact screen width and height of a phone? [duplicate]
- Media Queries: How to target desktop, tablet, and mobile?
- Can media queries resize based on a div element instead of the screen?
- What is the difference between max-device-width and max-width for mobile web?
- CSS @media print issues with background-color;
- Common breakpoints for media queries on a responsive site
- Nesting @media rules in CSS
- Should I use max-device-width or max-width?
- Common CSS Media Queries Break Points [duplicate]
- CSS media query to target only iOS devices [duplicate]
- What are the rules for CSS media query overlap?
- @Media min-width & max-width
- CSS specificity, Media Queries and min-width
- CSS media queries – Order matters?
- Responsive css styles on mobile devices ONLY
- Media query not working in IE9
- CSS media queries min-width and min-device-width conflicting?
- Detect if a browser in a mobile device (iOS/Android phone/tablet) is used
- How to detect if the OS is in dark mode in browsers?
- How to reference a .css file on a razor view?
- Conditionally change CSS class in Razor view
- How to code CSS media queries targeting ALL mobile devices and tablets?
- How to control number of items per row using media queries in Flexbox?
- How do I combine two media queries?
- How do I add a class to an @Html.ActionLink?
- Media Query grouping instead of multiple scattered media queries that match
- Single vs multiple stylesheets in responsive web design
- @import styles not working in a media query
- Media queries and background images
- @media query not working in mobile. Works fine in Chrome