多标签选择效果
代码语言:html
所属分类:表单美化
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> Multiple filter select</title>
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Poppins:400,700'>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
display: flex;
justify-content: center;
align-items: top;
height: 100vh;
overflow: hidden;
background-image: linear-gradient(to top, #09203f 0%, #537895 100%);
}
.select-wrap {
margin-top: 100px;
width: 250px;
transition: 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.select-wrap .select {
padding: 15px 55px 15px 15px;
border-radius: 8px;
box-shadow: 0 3px 20px -1px rgba(22, 42, 90, 0.5);
position: relative;
min-height: 61px;
z-index: 1;
transition: 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.select-wrap .select p {
text-transform: capitalize;
color: #fff;
opacity: .7;
letter-spacing: .6pt;
line-height: 2.2;
font-size: .9em;
transition: margin 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.select-wrap .select .arrow {
right: 10px;
top: calc(50% - 15px);
bottom: 0;
cursor: pointer;
width: 30px;
height: 30px;
border-radius: 50%;
position: absolute;
display: flex;
align-items: center;
justify-content: center;
transition: 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}
.select-wrap .select .arrow:before, .select-wrap .select .arrow:after {
content: '&.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0