Demo/bin/Debug/front_end/elements/spectrum.css
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/* https://github.com/bgrins/spectrum */
:host {
width: 226px;
height: 240px;
-webkit-user-select: none;
}
.spectrum-color {
position: relative;
width: 226px;
height: 124px;
border-radius: 2px 2px 0 0;
overflow: hidden;
}
.spectrum-display-value {
-webkit-user-select: text;
display: inline-block;
padding-left: 2px;
}
.spectrum-hue {
top: 140px;
}
.spectrum-alpha {
top: 159px;
background-image: url(Images/checker.png);
background-size: 12px 11px;
}
.spectrum-alpha-background {
height: 100%;
border-radius: 2px;
}
.spectrum-hue, .spectrum-alpha {
position: absolute;
right: 16px;
width: 130px;
height: 11px;
border-radius: 2px;
}
.spectrum-dragger,
.spectrum-slider {
-webkit-user-select: none;
}
.spectrum-sat {
background-image: linear-gradient(to right, white, rgba(204, 154, 129, 0));
}
.spectrum-val {
background-image: linear-gradient(to top, black, rgba(204, 154, 129, 0));
}
.spectrum-hue {
background: linear-gradient(to left, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
}
后面还有 121 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。