Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
CSS – Selecting attributes by wildcard name - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
16mo ago
•
2 replies
Zempai
CSS – Selecting attributes by wildcard name
I wonder I wonder
.
.
.
Select elements by their attribute
, not their value
, but have it be a wildcard
Mayhaps
input[*data-attribute]
input[*data-attribute]
or
input[^data-attribute]
input[^data-attribute]
selecting data
-attribute
, data
-attribute
-foo
, data
-attributered
, etc
.
Are we there yet
?
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
Name, Value, and Id Attributes
KP-C
Kevin Powell - Community / front-end
4y ago
CSS max-height property ignored by wrapper element
KP-C
Kevin Powell - Community / front-end
13mo ago
CSS selector for a div followed by another?
KP-C
Kevin Powell - Community / front-end
4y ago