diff --git a/demo/slider.html b/demo/slider.html index 6ebf1eb..f1d34ca 100644 --- a/demo/slider.html +++ b/demo/slider.html @@ -61,10 +61,9 @@ +``` + +Open in playground diff --git a/website/docs/gallery/slider.module.css b/website/docs/gallery/slider.module.css new file mode 100644 index 0000000..5b8d150 --- /dev/null +++ b/website/docs/gallery/slider.module.css @@ -0,0 +1,28 @@ +.slider_container { + width: 90%; + margin: 20px auto; +} +.slider { + -webkit-appearance: none; + width: 100%; + height: 15px; + border-radius: 5px; + background: #dedddd; + outline: none; +} +.slider::-webkit-slider-thumb { + -webkit-appearance: none; + appearance: none; + width: 25px; + height: 25px; + border-radius: 50%; + background: var(--ifm-color-primary-light); + cursor: pointer; +} +.slider::-moz-range-thumb { + width: 25px; + height: 25px; + border-radius: 50%; + background: var(--ifm-color-primary-light); + cursor: pointer; +} diff --git a/website/docs/guides/slider.md b/website/docs/guides/slider.md deleted file mode 100644 index 8457754..0000000 --- a/website/docs/guides/slider.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: Slider ---- - -TODO... diff --git a/website/docs/index.md b/website/docs/index.md index 77ae0ba..90f88de 100644 --- a/website/docs/index.md +++ b/website/docs/index.md @@ -5,8 +5,8 @@ hide_table_of_contents: true