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,9 @@ tags: interactivity,beginner
Makes the content unselectable.
- `user-select: none` specifies that the text cannot be selected.
- This is not a secure method to prevent users from copying content.
```html
<p>You can select me.</p>
<p class="unselectable">You can't select me!</p>
@ -15,8 +18,3 @@ Makes the content unselectable.
user-select: none;
}
```
#### Explanation
- `user-select: none` specifies that the text cannot be selected.
- This is not a secure method to prevent users from copying content.