Powered by Blogger.

Enable text selection using css



Enable text selection using CSS

moz-user-select:all;
-webkit-user-select:all;
-ms-user-select:all;
For unselect text we can use:
.unselectable {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
Formal syntax: none | text | all | element
(-prefix-)user-select: none;
(-prefix-)user-select: text;
(-prefix-)user-select: all;
(-prefix-)user-select: element;

No comments