js+css实现表情评分滑竿拖拽效果代码
代码语言:html
所属分类:拖放
代码描述:js+css实现表情评分滑竿拖拽效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<style>
:root {
--bgColor: #ebf4ff;
--badColor: #ff5722;
--okColor: #ff9800;
--goodColor: #36d896;
--greatColor: #3f51b5
}
* {
padding: 0;
margin: 0;
box-sizing: border-box
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: var(--bgColor)
}
.container {
width: 530px;
height: 160px;
padding: 30px;
border-radius: 20px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0,0,0,0.08)
}
.container h1 {
font-size: 18px;
color: var(--greatColor)
}
.container .appraise {
display: flex;
justify-content: space-between;
align-items: center;
height: 40px;
margin-top: 30px
}
.container .appraise .icon {
overflow: hidden;
width: 40px;
height: 40px
}
.conta.........完整代码请登录后点击上方下载按钮下载查看
网友评论0