方向为可选值,默认 to bottom。transparent 作为为渐变色的第一个参数,也就是 0% 时的颜色为完全透明色: background-image: linear-gradient(transparent 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.10)) linear-gradient 格式: linear-gradient( [ <angle> | to <side-or-corner> ,]? <color-stop>...
linear-gradient(135deg(渐变方向:135度), transparent(颜色为:透明) 20px(宽度为20px), white 0)这个样式。线性渐变 135度方向 透明 20px宽度 白色线形,渐变 特效
aSelect the Gradient Tool (settings: Foreground to transparent; opacity: 50%; linear gradient) and drag one gradient from the bottom of the image to the middle, and a second gradient from the top of the image to the middle. >Thats it! 选择梯度工具 (设置: 前景对透明; 不透明: 50%; 线...
a-webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(#666), to(transparent), color-stop(0.3, #666)); - webkit面具图象: - webkit梯度(线性,左上面,左下角,从(#666), (透明),颜色停止(0.3, #666));[translate]...