> For the complete documentation index, see [llms.txt](https://sygnal.gitbook.io/sygnal-webflow-components/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sygnal.gitbook.io/sygnal-webflow-components/cc/sygnal-components/css-isolation.md).

# Css Isolation ✅

<figure><img src="/files/0s5UUmV9qz8P5OA859hl" alt=""><figcaption></figcaption></figure>

Webflow's Native Component and Code Component styling doesn't directly support the styling of component instances. &#x20;

There are some excellent design systems that allow you to pass in classes ( to Native Components and Shared Library Components ), however these do not support Code Components.

## Features&#x20;

* Provide custom CSS that will apply only to the slotted content&#x20;
  * Works with NC's and Shared Libraries&#x20;
* Provide CSS variable overrides that will only apply to the slotted content&#x20;
  * Works with Code Components, NC's, and Shared Libraries&#x20;

## Limitations&#x20;

* In some cases the styling may not render properly at design-time due to design canvas differences.  Most will be visible at design time but publish to staging to be certain.  Preview mode may work as well. &#x20;

## Future&#x20;

When supported by Webflow, switch to an Embed property field type.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sygnal.gitbook.io/sygnal-webflow-components/cc/sygnal-components/css-isolation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
