html { height: 100%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; font-family: 'Work Sans', sans-serif; text-align: center; } html h1, html h2, html h3, html h4, html h5, html h6 { margin: 0; } html h1 { color: #333; font-weight: 500; } html h3 { color: #aaa; font-weight: 500; } html h4 { color: #999; font-weight: 500; } html h4:after { content: "%"; padding-left: 1px; } html input[type="range"] { outline: 0; border: 0; border-radius: 500px; width: 400px; max-width: 100%; margin: 24px 0 16px; -webkit-transition: -webkit-box-shadow 0.2s ease-in-out; transition: -webkit-box-shadow 0.2s ease-in-out; transition: box-shadow 0.2s ease-in-out; transition: box-shadow 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out; } @media screen and (-webkit-min-device-pixel-ratio: 0) { html input[type="range"] { overflow: hidden; height: 40px; -webkit-appearance: none; background-color: #ddd; } html input[type="range"]::-webkit-slider-runnable-track { height: 40px; -webkit-appearance: none; color: #444; -webkit-transition: -webkit-box-shadow 0.2s ease-in-out; transition: -webkit-box-shadow 0.2s ease-in-out; transition: box-shadow 0.2s ease-in-out; transition: box-shadow 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out; } html input[type="range"]::-webkit-slider-thumb { width: 40px; -webkit-appearance: none; height: 40px; cursor: ew-resize; background: #fff; -webkit-box-shadow: -340px 0 0 320px #1597ff, inset 0 0 0 40px #1597ff; box-shadow: -340px 0 0 320px #1597ff, inset 0 0 0 40px #1597ff; border-radius: 50%; -webkit-transition: -webkit-box-shadow 0.2s ease-in-out; transition: -webkit-box-shadow 0.2s ease-in-out; transition: box-shadow 0.2s ease-in-out; transition: box-shadow 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out; position: relative; } html input[type="range"]:active::-webkit-slider-thumb { background: #fff; -webkit-box-shadow: -340px 0 0 320px #1597ff, inset 0 0 0 3px #1597ff; box-shadow: -340px 0 0 320px #1597ff, inset 0 0 0 3px #1597ff; } } html input[type="range"]::-moz-range-progress { background-color: #43e5f7; } html input[type="range"]::-moz-range-track { background-color: #9a905d; } html input[type="range"]::-ms-fill-lower { background-color: #43e5f7; } html input[type="range"]::-ms-fill-upper { background-color: #9a905d; } #h4-container { width: 400px; max-width: 100%; padding: 0 20px; -webkit-box-sizing: border-box; box-sizing: border-box; position: relative; } #h4-container #h4-subcontainer { width: 100%; position: relative; } #h4-container #h4-subcontainer h4 { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; position: absolute; top: 0; width: 40px; height: 40px; color: #fff !important; font-size: 12px; -webkit-transform-origin: center -10px; transform-origin: center -10px; -webkit-transform: translateX(-50%); transform: translateX(-50%); -webkit-transition: margin-top 0.15s ease-in-out, opacity 0.15s ease-in-out; transition: margin-top 0.15s ease-in-out, opacity 0.15s ease-in-out; } #h4-container #h4-subcontainer h4 span { position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: #1597ff; border-radius: 0 50% 50% 50%; -webkit-transform: rotate(45deg); transform: rotate(45deg); z-index: -1; } input:not(:active) + #h4-container h4 { opacity: 0; margin-top: -50px; pointer-events: none; } /*# sourceMappingURL=slider.css.map */