Relative Content

Tag Archive for cssattributes

How select all elements with same attribute value

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?

How select all elements with same attribute value

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?