Update format

This commit is contained in:
Angelos Chalaris
2020-04-30 13:21:04 +03:00
parent d9fd2d23c3
commit 2fbd3e0737
55 changed files with 412 additions and 571 deletions

View File

@ -5,6 +5,8 @@ tags: visual,interactivity,intermediate
Changes the appearance of a form if any of its children are focused.
- The psuedo class `:focus-within` applies styles to a parent element if any child element gets focused. For example, an `input` element inside a `form` element.
```html
<form>
<label for="username">Username:</label>
@ -35,7 +37,3 @@ input {
margin: 4px;
}
```
#### Explanation
- The psuedo class `:focus-within` applies styles to a parent element if any child element gets focused. For example, an `input` element inside a `form` element.