diff --git a/guide/english/css/selectors/attribute/star/index.md b/guide/english/css/selectors/attribute/star/index.md index b13110a1e6..7bab99d870 100644 --- a/guide/english/css/selectors/attribute/star/index.md +++ b/guide/english/css/selectors/attribute/star/index.md @@ -5,6 +5,14 @@ title: Star Star CSS attribute selector or * is used for selecting attributes that contain specific value. +### CSS Syntax + +```css +attribute *= value { + css declarations; +} +``` + #### Example If you want to search all anchor links that contain "code" anywhere in the URL value and make them yellow, you can do it like this: @@ -15,3 +23,11 @@ a[href*="code"] { } ``` +Set a background color on all `