hsla($hue,$saturation,$lightness,$alpha):通过色相(hue)、饱和度(saturation)、亮度(lightness)和透明(alpha)的值创建一个颜色;
sass -i
>> hsla(200,30%,60%,.8)//通...
yekong
4年前 (2021-08-19)
喜欢
hsl($hue,$saturation,$lightness):通过色相(hue)、饱和度(saturation)和亮度(lightness)的值创建一个颜色;
sass -i
>> hsl(200,30%,60%) //通过h200,s30%,l60%创建一个颜色...
yekong
4年前 (2021-08-19)
喜欢
blue()
函数是用来获取某一个颜色值中 blue 的值
sass -i
>> blue(#f36)
102
...
yekong
4年前 (2021-08-19)
喜欢
Green()
用来获取某一个颜色值中 green 的值。同样拿 ”#f36“ 颜色为例:
sass -i
>> green(#f36)
51
...
yekong
4年前 (2021-08-19)
喜欢
Red() 函数
red() 函数非常简单,其主要用来获取一个颜色当中的红色值。假设有一个 #f36 的颜色,如果你想得到 #f36 中的 red 值是多少,这个时候使用 red() 函数就能很简单获取。
>> red(#f36)
255
得到的值是”255”。(注...
yekong
4年前 (2021-08-19)
喜欢
rgba()
rgba() 函数主要用来将一个颜色根据透明度转换成 rgba 颜色。
rgba($red,$green,$blue,$alpha) //将一个rgba颜色转译出来,和未转译的值一样
rgba($color,$alpha) //将一个Hex颜色转换成rgba颜色...
yekong
4年前 (2021-08-19)
喜欢
input::-webkit-input-placeholder {
color: rgba(0, 204, 254, 1);
}
input::-moz-input-placeholder {
color:rgba(0, 204, 254, 1);
...
yekong
4年前 (2021-08-19)
喜欢
第一种
.el-table--enable-row-hover .el-table__body tr:hover>td{
background-color: #c6cfdf !important;
}
第二种
.el-table__body tr:hover>t...
yekong
4年前 (2021-08-19)
喜欢
{BMap, map} 地图组件渲染完毕时触发,返回一个百度地图的核心类和地图实例。百度地图组件是异步加载,请不要尝试在组件的生命周期中访问 BMap 核心类和 map 实例,如有需要,请在所需组件的 ready 事件回调函数的参数中获取。
即不要再vue的生命周期中对地图的b...
yekong
4年前 (2021-08-19)
喜欢
Can't find node in PATH, trying to find a node binary on your system
husky > pre-commit (node v8.4.0)
lint-staged requires at least v...
yekong
4年前 (2021-08-19)
喜欢