If i using [class~="logo"] { padding: 2px; }
it will select all element that have contain logo
in class
attribute value. (Like <element class="logo-idk">
) But how if i want to select all attribute that contain logo
value?
Maybe like [all-attributes~="logo"] { padding: 2px; }
, so it will apply to all attribute that have contain logo
. Like <a class="logo">
, <a id="logo">
, <a custom="logo">
.
Edit: I agree to all comment, i just need one or a little more attribute for my HTML elements. It make sense.
LIGMATV is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2