Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
classes vs data-type… - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
3y ago
•
3 replies
Brian_Lab
classes vs data-type…
Kevin
’s CSS often includes declarations
, such as
“
.container
[data
-type
=
“wide
”
]
”
.
But I
’m struggling to understand how this approach differs from using two classes
.
Thanks
!
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
CSS Best Practices: classes vs target tag elements?
KP-C
Kevin Powell - Community / front-end
2y ago
dataset vs regular data methods.
KP-C
Kevin Powell - Community / front-end
16mo ago
Why Data type doesn´t work ?
KP-C
Kevin Powell - Community / front-end
3y ago