box-shadowプロパティ div{
box-shadow: 10px 10px 10px gray;
}
(横方向のずれ具合 縦方向のずれ具合 ぼかし具合 [影の大きさの増分] 色)inset:内側の影,で区切るtext-shadowプロパティ div{
text-shadow: 3px 3px 2px gray;
}
(横方向のずれ具合 縦方向のずれ具合 ぼかし具合 [影の大きさの増分] 色),で区切るborder-radiusプロパティ
div{
border-radius: 10px;
}
border-radius: 50%;widthを指定backgroundプロパティ
linear-gradient():直線的なグラデーションの値 div{
background: linear-gradient(white, gray);
}
(white 50%, gray 80%):開始点(中心)から終了点までの相対的な距離(45deg, white, gray):回転角度(指定の値+180)radial-gradient():放射状のグラデーションの値 div{
background: radial-gradient(white, gray);
}
(white 50%, gray 80%):開始点から終了点までの相対的な距離(at top, white, gray):開始点の位置(%, pxでも指定可能)(circle at top, white, gray):円形の状態を保つconic-gradient():扇形(円錐)のグラデーションの値 div{
background: conic-gradient(white, gray);
}
(white 0%, gray 25% 50%, white 50% 75%, gray 76% 100%):開始点から終了点までの相対的な距離