Skip to content
main
Go to file
Code

Files

Permalink
Failed to load latest commit information.

README.md

user-select: contain polyfill

Polyfills user-select: contain property value by implementing the behavior on a CSS class name user-select-contain.

This is only implemented in IE and Edge (under element) right now.

Installation

$ npm install user-select-contain-polyfill

Usage

JS

import "user-select-contain-polyfill";

CSS

@import "user-select-contain-polyfill.css";

HTML

<span class="user-select-contain">
  50ce349853
</span>

Development

$ npm install
$ npm run build

License

Distributed under the MIT license. See LICENSE for details.

You can’t perform that action at this time.