Prepare repository for merge

This commit is contained in:
Angelos Chalaris
2023-05-01 22:51:44 +03:00
parent 334b4dd6f8
commit e49fc829dd
100 changed files with 0 additions and 593 deletions

View File

@ -0,0 +1,23 @@
---
title: Disable selection
type: snippet
tags: [interactivity]
cover: interior-9
dateModified: 2020-12-30T15:37:37+02:00
---
Makes the content unselectable.
- Use `user-select: none` to make the content of the element not selectable.
- **Note:** 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>
```
```css
.unselectable {
user-select: none;
}
```