---
title: "Comment by Graeme Fulton on \"How to nest groups in TailwindCSS\" | Hashnode"
description: "Hey thanks for this. I just tried it, but the group-scope classes don&#39;t do anything for me. Same issue as the tailwind play example - looking into it!"
url: "https://hashnode.com/posts/how-to-nest-groups-in-tailwindcss/61991e585bb9cc256fc69aa5/comment/63aee9ea2381e73bbf93c4a6"
---

[Discussion](https://hashnode.com/posts/how-to-nest-groups-in-tailwindcss/61991e585bb9cc256fc69aa5)

Comment [How to nest groups in TailwindCSS](https://hashnode.com/posts/how-to-nest-groups-in-tailwindcss/61991e585bb9cc256fc69aa5)

[Graeme Fulton](https://hashnode.com/@grae)

[Dec 30, 2022](https://hashnode.com/posts/how-to-nest-groups-in-tailwindcss/61991e585bb9cc256fc69aa5/comment/63aee9ea2381e73bbf93c4a6)

Hey thanks for this. I just tried it, but the group-scope classes don't do anything for me. Same issue as the tailwind play example - looking into it!

[Graeme Fulton](https://hashnode.com/@grae)

[Dec 30, 2022](https://hashnode.com/posts/how-to-nest-groups-in-tailwindcss/61991e585bb9cc256fc69aa5/comment/63aee9ea2381e73bbf93c4a6#reply-63aeebaa359f463d43abe92b)

yay got it working by following the instructions in the npm page

this part, adding jit and the group names:

```
mode: "jit",
    // ...
    plugins: [
        require("tailwindcss-scoped-groups")({
            groups: ["one", "two"],
        }),
    ],
```

thanks for the great plugin!

[Linus Benkner](https://hashnode.com/@EinLinuus)

[Dec 30, 2022](https://hashnode.com/posts/how-to-nest-groups-in-tailwindcss/61991e585bb9cc256fc69aa5/comment/63aee9ea2381e73bbf93c4a6#reply-63aeecf52381e73bbf93c52c)

Hi, thanks for your comment! This article is now outdated as nested groups have become a core feature of Tailwind CSS. Make sure you have Tailwind CSS version 3.2 installed and you can use it: [tailwindcss.com/docs/hover-focus-and-other-states](https://tailwindcss.com/docs/hover-focus-and-other-states#differentiating-nested-groups) You can find an updated version of the playground example here: [play.tailwindcss.com/IqzVJD0rLe](https://play.tailwindcss.com/IqzVJD0rLe)

[Graeme Fulton](https://hashnode.com/@grae)

[Dec 30, 2022](https://hashnode.com/posts/how-to-nest-groups-in-tailwindcss/61991e585bb9cc256fc69aa5/comment/63aee9ea2381e73bbf93c4a6#reply-63aeef3d2381e73bbf93c591)

ooh thanks a lot! Didn't know it existed, your post was one of the first I found when searching [Linus Benkner](https://hashnode.com/@EinLinuus)
