--- description: >- Paste CSS into Webstudio, and it'll be translated to the various fields in the Style Panel. --- # ↔️ CSS [CSS](https://developer.mozilla.org/en-US/docs/Web/CSS) is the design language of the internet. With this feature, you can copy CSS from anywhere and paste it into Webstudio, which will parse it and populate the various fields in the Style Panel. ## How to paste CSS
pasting css from Figma into Webstudio
1. Copy CSS declaration(s) such as `background: blue;`. 2. In Webstudio, go to the Style Panel > Advanced > and click "+". 3. Paste the CSS and press enter. That's it. The styles are parsed and displayed in their respective fields (they will also be shown in the Advanced section). ## Use cases 1. **Design tools like** [**Figma**](https://figma.com/) **and** [**Penpot**](https://penpot.app/) provide CSS, making copying and pasting individual layer styles into Webstudio easier. 2. **Third-party libraries like** [**Open Props**](https://open-props.style/) provide expertly crafted CSS variables, allowing you to import them via paste. 3. **Custom stylesheets** containing Design Systems and other declarations can be imported. 4. Inspect your website with [**DevTools**](https://developer.chrome.com/docs/devtools) and copy the CSS. 5. Online tutorials, [CodePen](https://codepen.io/), ChatGPT, and many other sources provide CSS. ## Pasting CSS declarations When pasting into the Style Panel, Webstudio accepts CSS declarations (e.g., `background: blue;`). Selectors are not needed because Webstudio applies styles directly to the selected instance. ## Related - [HTML with CSS](./html-with-css.md) – Paste HTML containing `