svelte-range-slider-pips实现价格滑块拖动选择区间效果代码

代码语言:html

所属分类:拖放

代码描述:svelte-range-slider-pips实现价格滑块拖动选择区间效果代码

代码标签: svelte-range-slider-pips 价格 滑块 拖动 选择 区间

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">

<style>
/** 
    inspired by https://dribbble.com/shots/2056202-Range-Selection-with-Frequency-Chart 
**/


#PriceGradient {

  /** colors for the handles and range */
  --color1: hsl(219, 73%, 65%);
  --color2: hsl(283, 100%, 69%);
  --colorMix: hsl(256, 100%, 59%); 
  --range-pip: #ccc;
  --range-pip-in-range: var(--colorMix);
  
  /** linear springs from for easing nicely */
  --spring-duration: 1.5s;
  --spring-easing: linear(
    0, 0.576 4%, 0.79, 0.964, 1.102, 1.205, 1.275 13.6%, 1.298, 1.313, 1.32, 1.32,
    1.313 19.3%, 1.299 20.7%,.........完整代码请登录后点击上方下载按钮下载查看

网友评论0