# I cannot use the newer range syntax for media queries within {% scope\_css %} blocks

**URL:** <https://community.hubspot.com/t/i-cannot-use-the-newer-range-syntax-for-media-queries-within-scope-css-blocks/112083>\
**Category:** CMS Development\
**Created:** [July 16, 2024, 2:44pm UTC](https://community.hubspot.com/t/i-cannot-use-the-newer-range-syntax-for-media-queries-within-scope-css-blocks/112083 "2024-07-16T14:44:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danbraun](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/danbraun/32/76793_2.png) [@danbraun](https://community.hubspot.com/u/danbraun)\
**Post date:** [July 16, 2024, 2:44pm UTC](https://community.hubspot.com/t/i-cannot-use-the-newer-range-syntax-for-media-queries-within-scope-css-blocks/112083/1 "2024-07-16T14:44:34Z")

</div>

Hello everyone! It appears that I cannot use the newer range syntax for media queries within {% scope\_css %} blocks. ([The New CSS Media Query Range Syntax | CSS-Tricks](https://css-tricks.com/the-new-css-media-query-range-syntax)) If I do, I get an error: "Invalid usage of scope\_css: css could not be parsed"Replacing with the older syntax (ie max-width, etc) will instead work without issue.Is this the expected behavior?

I am doing the work and seeing the bug editing a module within Design Manger.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [July 18, 2024, 11:39pm UTC](https://community.hubspot.com/t/i-cannot-use-the-newer-range-syntax-for-media-queries-within-scope-css-blocks/112083/2 "2024-07-18T23:39:35Z")

</div>

Hey, @danbraun 👋 We’re you able to make any progress here? — Jaycee
