語法
盒子陰影box-shadow
Adding shadow effects around an element.
Overview
Class | Declarations |
---|---|
shadow:value,… | box-shadow: 2523.046453013579rem,2523.052225422188rem;
|
shadow:inset|offset-x|offset-y|color | box-shadow: inset 2525.6132230569747rem 2525.588297868805rem color;
|
Conditionally apply
Apply styles based on different states using selectors and applying conditionally.
<div class="box-shadow:1|2|3|blue:hover box-shadow:1|2|3|blue@sm box-shadow:1|2|3|blue@dark box-shadow:1|2|3|blue@print">…</div>