Update 11. adding_and_styling_forms.md

main
Basit Ali 2022-06-11 16:45:55 +05:00 committed by GitHub
parent 6df6d35415
commit 02f8ae5b33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>` |
@ -197,4 +197,4 @@ To style a button element with `disabled` attribute, to give the user a clear fe
background: #ccc; background: #ccc;
color: #a1a1a1; color: #a1a1a1;
} }
``` ```