From 659b8719208dad2982822168aa1c4619faf308da Mon Sep 17 00:00:00 2001 From: atomiks Date: Wed, 28 Feb 2018 21:56:26 +1000 Subject: [PATCH] Update disable-selection.md --- snippets/disable-selection.md | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/snippets/disable-selection.md b/snippets/disable-selection.md index d39f99d53..e84b402ec 100644 --- a/snippets/disable-selection.md +++ b/snippets/disable-selection.md @@ -1,4 +1,4 @@ -### Disable Selection +### Disable selection Makes the content unselectable. @@ -6,8 +6,8 @@ Makes the content unselectable. ```html
-

You can't select me!

-

You can select me!!

+

You can select me.

+

You can't select me!

``` @@ -21,30 +21,23 @@ Makes the content unselectable. #### Demo - -
+

You can select me.

You can't select me!

-

You can select me!!

- - #### Explanation -`user-select: none` defines that the text cannot be selected. + +`user-select: none` specifies that the text cannot be selected. + #### Browser support - +⚠️ Requires prefixes for full support. -⚠️ Requires prefixes for full support and is not actually in any specification. - - - -* https://caniuse.com/#search=user-select +* https://caniuse.com/#feat=user-select-none