We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbbca9c commit b2743d6Copy full SHA for b2743d6
1 file changed
docs/API.md
@@ -150,13 +150,11 @@ Transform CSS at build time to generate native CSS where possible.
150
```javascript
151
import { buildTimeTransform } from "css-if-polyfill";
152
153
-const result = buildTimeTransform(
154
- `
+const result = buildTimeTransform(`
155
.card {
156
background: if(media(min-width: 768px): blue; else: gray);
157
font-size: if(style(--large): 24px; else: 16px);
158
- }
159
-`,
+ }`,
160
{ minify: true }
161
);
162
0 commit comments