-moz-user-select
时间: 2023-10-04 20:04:19 浏览: 49
-moz-user-select is a CSS property that allows developers to control the user's ability to select text within an element on a webpage in Mozilla Firefox. It only works in Firefox and is not supported by other browsers. The possible values for the property are:
- none: disables text selection for the element and its content.
- text: allows text selection for the element and its content.
- all: allows selection of all elements on the page, including the element and its content.
Example usage:
```
/* Disable text selection for a specific element */
.element {
-moz-user-select: none;
}
```
Note: The property is deprecated in Firefox 69 and newer versions. The standard CSS property `user-select` should be used instead, which is supported by most modern browsers.