Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 322 Bytes

css-selector-element-has-an-attribute-which-contains-some-string.md

File metadata and controls

16 lines (11 loc) · 322 Bytes
  • Date : 2023-08-21
  • Tags : css web js

CSS Selector element has an attribute which contains some string

[abc*="something"] means select element has attribute abc, and its value contains "something" string

Example :

/* Warning all admin link is red text color */
a[href*="/admin/"] {
	color: red;
}