css attribute selector

Take the title attribute as an example

[title~=god] {} The attribute title contains a single god word.

[title^=god]{} attribute title must start with god.

The [title|=god]{} attribute must start with god, but cannot be a single god. If title="god xxx" will not be selected, title="gods xx" will be selected

[title^=god]{} attribute title must end with god.

[title*=god]{} The title of the attribute can contain god.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325484187&siteId=291194637
Recommended