# scope\_css doesnt seem to be up to date

**URL:** <https://community.hubspot.com/t/scope-css-doesnt-seem-to-be-up-to-date/127223>\
**Category:** CMS Development\
**Tags:** css\
**Created:** [March 3, 2025, 6:08pm UTC](https://community.hubspot.com/t/scope-css-doesnt-seem-to-be-up-to-date/127223 "2025-03-03T18:08:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adesignl](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/adesignl/32/27362_2.png) [@Adesignl](https://community.hubspot.com/u/Adesignl)\
**Post date:** [March 3, 2025, 6:08pm UTC](https://community.hubspot.com/t/scope-css-doesnt-seem-to-be-up-to-date/127223/1 "2025-03-03T18:08:24Z")

</div>

`scope_css` doesnt seem to be up to date with modern css properties.

I am trying to use it with in a module and anything with

`:where`

or

`:has`

doenst seem to allow scope\_css to function.

The code that is causing the issues is as follows:

```lia-code-sample
.camera-sets__cell--label:where(:hover, :focus-within, :focus) {
 z-index: 2;
}
.camera-sets__row:has(input:checked) .camera-sets__cell--label {
 background-color: var(--yellow);
}
.server-item:where(+ .server-item) {
 border-bottom: 1px solid var(--gray);	
}
.tooltip[title]:where(:hover,:focus)::after,
.tooltip[title]:where(:hover,:focus)::before {
 opacity: 1;
}

```

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [March 4, 2025, 7:31am UTC](https://community.hubspot.com/t/scope-css-doesnt-seem-to-be-up-to-date/127223/2 "2025-03-04T07:31:43Z")

</div>

Hi @Adesignl

Yes, scope\_css does not work with modern pseudo-classes. I use {{ name }} variable to nest the styles to the specific module so it does not affect any other element. You can try that as well.

I hope this will help you out. Please mark it as **Solution Accepted and upvote** to help another Community member.  
Thanks!

---

<div class="post-metadata">

**Author:** ![Adesignl](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/adesignl/32/27362_2.png) [@Adesignl](https://community.hubspot.com/u/Adesignl)\
**Post date:** [March 6, 2025, 10:16pm UTC](https://community.hubspot.com/t/scope-css-doesnt-seem-to-be-up-to-date/127223/3 "2025-03-06T22:16:12Z")

</div>

I had a response from HubSpot Engineering team and it seem this is a bug. They have a ticket in and should be getting it resolved soon.
