# PHP Code Dynamic Tailwind Classes Heads-Up!

**URL:** <https://forums.realmacsoftware.com/t/php-code-dynamic-tailwind-classes-heads-up/46302>\
**Category:** Elements API\
**Created:** [February 17, 2025, 2:38pm UTC](https://forums.realmacsoftware.com/t/php-code-dynamic-tailwind-classes-heads-up/46302 "2025-02-17T14:38:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [February 17, 2025, 3:16pm UTC](https://forums.realmacsoftware.com/t/php-code-dynamic-tailwind-classes-heads-up/46302/2 "2025-02-17T15:16:49Z")

</div>

**You’re 100% correct!** Elements builds Tailwind CSS on the fly, so we only output the classes in use on the page.

I should bookmark your post or add it to the Element Docs as this is bound to come up again in the future 😊

Nice work!

---

_[View the full topic](https://forums.realmacsoftware.com/t/php-code-dynamic-tailwind-classes-heads-up/46302)._
