1js// Get a random number out of [10, 11, 12, 13]
2random(10, 14);
3
4// Get a random number from 1 to 100 (inclusive)
5random(1, 101);
6
7// Get a random number from -10 to 10 (inclusive)
8random(-10, 11);// Get a random number out of [10, 11, 12, 13]random(10, 14);// Get a random number from 1 to 100 (inclusive)random(1, 101);// Get a random number from -10 to 10 (inclusive)random(-10, 11);
9/**
10 * Reset the text fill color so that placeholder is visible
11 */
12.npm__react-simple-code-editor__textarea:empty {
13 -webkit-text-fill-color: inherit !important;
14}
15
16/**
17 * Hack to apply on some CSS on IE10 and IE11
18 */
19@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
20 /**
21 * IE doesn't support '-webkit-text-fill-color'
22 * So we use 'color: transparent' to make the text transparent on IE
23 * Unlike other browsers, it doesn't affect caret color in IE
24 */
25 .npm__react-simple-code-editor__textarea {
26 color: transparent !important;
27 }
28
29 .npm__react-simple-code-editor__textarea::selection {
30 background-color: #accef7 !important;
31 color: transparent !important;
32 }
33}
34