box-shadow: offset-x offset-y color
書式 | コード | 適用例 |
---|---|---|
offset-x offset-y color |
60px -16px teal |
|
offset-x offset-y blur-radius color |
10px 5px 5px black |
|
offset-x offset-y blur-radius spread-radius color |
2px 2px 2px 1px rgba(0, 0, 0, 0.2) |
|
inset offset-x offset-y color |
inset 5em 1em gold |
|
書式1, 書式2 |
3px 3px red, -1em 0 0.4em olive |