Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
changing col-span with template literal - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
3y ago
•
6 replies
bento
changing col-span with template literal
any idea why this isnt working
?
Solution
Dynamic class names like that don
't quite work with Tailwind
, it decides on build time what classes to compile
, there are some workarounds here
https://stackoverflow.com/questions/69687530/dynamically-build-classnames-in-tailwindcss
Jump to solution
Theo's Typesafe Cult
Join
26,564
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Non strict string literal types
TTC
Theo's Typesafe Cult / questions
4y ago
Template Suggestions
TTC
Theo's Typesafe Cult / questions
3y ago
Variable keeps changing
TTC
Theo's Typesafe Cult / questions
3y ago