css+svg实现简洁黑色取值器布局代码
代码语言:html
所属分类:布局界面
代码描述:css+svg实现简洁黑色取值器布局代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum=1.0,minimum=1.0,user-scalable=0" />
<style>
body{
background:black;
padding:100px;
}
.glass-card {
width: 290px;
background: rgba(36, 36, 36, 0.75);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-radius: 14px;
padding: 14px 16px;
color: #ffffff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
box-shadow:
0 20px 40px rgba(0, 0, 0, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.08);
transition: transform 0.3s ease;
}
/* dropdown*/
.card-header {
display: flex;
align-items: center;
gap: 8px;
position: relative;
}
.header-dropdown-container {
position: relative;
}
.hidden-toggle {
display: none;
}
.header-dropdown {
display: flex;
align-items: center;
gap: 8px;
background: rgba(255, 255, 255, 0.08);
padding: 6px 10px;
border-radius: 8px;
cursor: pointer;
transition: all 0.2s ease;
border: 1px solid rgba(255, 255, 255, 0.05);
}
.header-dropdown:hover {
background: rgba(255, 255, 255, 0.15);
}
.icon-circle {
width: 12px;
height: 12px;
border: 2px solid #8e8e93;
border-radius: 50%;
transition: border-color 0.2s ease;
}
.header-dropdown:hover .icon-circle {
border-color: #0a84ff;
}
.title {
font-size: 13px;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0