Skip to content

Commit 65e6f50

Browse files
committed
Add example
1 parent e0dff28 commit 65e6f50

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,18 @@
77
[PostCSS] plugin
88

99
```css
10-
10+
.card {
11+
box-shadow: --smooth-shadow(#000, 10px, 2);
12+
}
1113
```
1214

1315
```css
14-
16+
.card {
17+
box-shadow:
18+
0 calc(10px / 2) calc(10px / 2 * 2) oklch(from #000 l c h / 0.25),
19+
0 calc(10px / 2 * 2) calc(10px / 2 * 3) oklch(from #000 l c h / 0.18),
20+
0 calc(10px / 2 * 3) calc(10px / 2 * 4) oklch(from #000 l c h / 0.12);
21+
}
1522
```
1623

1724
[postcss-utilities] collection is better for `clearfix` and other popular hacks.

0 commit comments

Comments
 (0)