Created
March 22, 2012 09:46
-
-
Save victor-falcon/2157391 to your computer and use it in GitHub Desktop.
Evita la selección de texto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Añadiendo estas propiedades a un elemento evitamos que el texto se seleccione. Es perfecto para botones hechos con css. | |
*/ | |
.no-select { | |
-webkit-touch-callout: none; | |
-webkit-user-select: none; | |
-khtml-user-select: none; | |
-moz-user-select: none; | |
-ms-user-select: none; | |
user-select: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment