# CSS Nesting

**URL:** <https://community.hubspot.com/t/css-nesting/95245>\
**Category:** CMS Development\
**Tags:** css\
**Created:** [December 1, 2023, 9:05pm UTC](https://community.hubspot.com/t/css-nesting/95245 "2023-12-01T21:05:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![cnnrbyrm](https://avatars.discourse-cdn.com/v4/letter/c/13edae/32.png) [@cnnrbyrm](https://community.hubspot.com/u/cnnrbyrm)\
**Post date:** [December 1, 2023, 9:05pm UTC](https://community.hubspot.com/t/css-nesting/95245/1 "2023-12-01T21:05:55Z")

</div>

CSS Nesting has been supported by all major browsers since September. Does Hubspot have any plans to update their code so that nesting doesn’t flag issues?

 ![Screen Shot 2023-12-01 at 3.03.34 PM.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/a/7/a704eb7261220fd64d5a850d02a8c386d6995c01.jpeg)

---

<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:** [December 4, 2023, 6:04pm UTC](https://community.hubspot.com/t/css-nesting/95245/2 "2023-12-04T18:04:01Z")

</div>

Hey, @cnnrbyrm Thanks for flagging this. I do not have a roadmap or other update to share at this time. I’ll check with my internal resources. And update here if I can.

Do you have any additional details to share? Are you seeing this in the Design Manager, locally with something like VS Code, or when using a browser page inspector? Any additional context is helpful with issues like this.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![cnnrbyrm](https://avatars.discourse-cdn.com/v4/letter/c/13edae/32.png) [@cnnrbyrm](https://community.hubspot.com/u/cnnrbyrm)\
**Post date:** [December 4, 2023, 8:25pm UTC](https://community.hubspot.com/t/css-nesting/95245/3 "2023-12-04T20:25:31Z")

</div>

[@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) I am seeing this in the Design Manager. Nesting works as expected. It’s honestly more of an aesthetic issue at this point.

---

<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:** [December 4, 2023, 9:08pm UTC](https://community.hubspot.com/t/css-nesting/95245/4 "2023-12-04T21:08:40Z")

</div>

Thanks for clarifying, @cnnrbyrm. I saw another recent post for a different validation error in the Design Manager.

Have a great day! — Jaycee

---

<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:** [April 8, 2026, 2:32pm UTC](https://community.hubspot.com/t/css-nesting/95245/5 "2026-04-08T14:32:58Z")

</div>

3 years later, still no fix?

---

<div class="post-metadata">

**Author:** ![stassey](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stassey/32/36_2.png) [@stassey](https://community.hubspot.com/u/stassey)\
**Post date:** [April 8, 2026, 3:35pm UTC](https://community.hubspot.com/t/css-nesting/95245/6 "2026-04-08T15:35:26Z")

</div>

Hey @danbraun,

Thanks for chiming in here!

I’m not a trained developer, but based on @cnnrbyrm’s reply, it sounds like this ended up being possible.

This article article below may be worth exploring:

- [How to Nest Your CSS Selectors for Cleaner Code](https://blog.hubspot.com/website/nesting-css)

In the meantime, I’d also like to tag in some of our Top Contributors to see if they’re able to confirm any success with this!

Hey @GRajput, @SteveHTM, [@zach\_threadint](https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811) -- Do you have any suggestions for @danbraun on this?

Thank you in advance!

Sam, Community Manager

---

<div class="post-metadata">

**Author:** ![cnnrbyrm](https://avatars.discourse-cdn.com/v4/letter/c/13edae/32.png) [@cnnrbyrm](https://community.hubspot.com/u/cnnrbyrm)\
**Post date:** [April 8, 2026, 4:17pm UTC](https://community.hubspot.com/t/css-nesting/95245/7 "2026-04-08T16:17:26Z")

</div>

The question was never wether it’s possible or not; it’s about the design manager throwing an error for no reason.

---

<div class="post-metadata">

**Author:** ![stassey](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stassey/32/36_2.png) [@stassey](https://community.hubspot.com/u/stassey)\
**Post date:** [April 9, 2026, 5:21pm UTC](https://community.hubspot.com/t/css-nesting/95245/8 "2026-04-09T17:21:23Z")

</div>

Hello @cnnrbyrm,

I truly appreciate the clarification around this, thank you. I see now that the issue isn’t about whether CSS nesting works, but that the Design Manager’s code validator is flagging it as an error even though it’s valid, modern CSS.

I wasn’t able to find an existing Ideas post on this, so it may be worth submitting one so the product team can track demand for it. Feel free to post this here:

- [**HubSpot Ideas Forum**](https://community.hubspot.com/t5/HubSpot-Ideas/ct-p/HubSpot-Ideas)

Thanks so much for your understanding and for clarifying. I truly value you helping us ensure we’re pointing things in the right direction. We appreciate you being part of the Community!

Sam, Community Manager
