Basit Ali 2022-06-12 15:12:08 +05:00
commit 6d1bdb05c5
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ We can also select attributes with a prefix value, e.g. `[lang|="en"]` means ele
| Element with Attributes | Element with Specific Attribute Value | Element with Specific Attribute Value in List | Element with Specific Attribute Value/Value- | | Element with Attributes | Element with Specific Attribute Value | Element with Specific Attribute Value in List | Element with Specific Attribute Value/Value- |
| --- | --- | --- | --- | | --- | --- | --- | --- |
| `[type] { color: red; }` | `[type="email"] { color: red; }` | `[lang~="en-us"] { color: red; }` | `[lang|="en"] { color: red; }` | | `[type] { color: red; }` | `[type="email"] { color: red; }` | `[lang~="en-us"] { color: red; }` | `[lang\|="en"] { color: red; }` |
| `<input type="text">` | `<input type="email">` | `<p lang="en-us en-gb">Hi!</p>` | `<p lang="en-us">Hi!</p>` | | `<input type="text">` | `<input type="email">` | `<p lang="en-us en-gb">Hi!</p>` | `<p lang="en-us">Hi!</p>` |