opacity
範圍0.0~1.0,值越低,越透明:hover
,當滑鼠懸停時,強調圖片border-radius
更改圓角
transparent
顏色透明度0 = rgba(0,0,0,0)currentcolor
變數,保存當前元素的顏色值,可延伸套用在子元素 (需先在元素指定一個顏色)inherit
繼承父元素的值,適用任何CSS、HTML中linear-gradient(direction, color-stop1, color-stop2, ...);
background-image: linear-gradient(red, yellow);
background-image: linear-gradient(red, yellow);
background-image: linear-gradient(to bottom right, red, yellow);
background-image: linear-gradient(to right, rgba(255,0,0,0), rgba(255,0,0,1));
background-image: repeating-linear-gradient(red, yellow 10%, green 20%);
background-image: radial-gradient(shape size at position, start-color, ..., last-color);