mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-03 02:27:57 +09:00
## Description
Pasting this will now resolve correctly
```html
<style>
.my-parent {
--clr-red: #f00;
min-height: 75vh;
}
.my-child {
background: var(--clr-red);
min-height: 50%;
}
</style>
<div class="my-parent">
<div class="my-child"></div>
</div>
```
CSS Engine
This package is designed to render effectively CSS in the format produced by Webstudio Builder. It is using CSS variables for all dynamic parts and can render at runtime as for usage on Live Canvas in the Builder as well as for extracting a fully static style sheet for production.