Styles
Create and manage styles, classes, and CSS properties in the Webflow Designer using the Styles tools. These tools let you create new styles, update existing ones, and manage style properties across breakpoints.
The MCP Companion App must be open in the Webflow Designer for these tools to function.
Webflow only supports long-form names of CSS properties
Use the long-form CSS property names when setting styles. For example, use grid-row-gap instead of row-gap. See the MDN CSS Properties reference for complete property names.
Style tool
Create and manage classes and CSS properties in the Webflow Designer using the Style tool.
Tool: style_tool
Unique identifier for the site.
An array of style actions to perform. See action examples below.
Create style
Create a new style with specified properties.
The name of the new style.
An array of property objects.
+ Show Property Properties
The CSS property name (use longhand, e.g., margin-top).
The static value for the property.
The ID of a variable to use as the value.
The name of a parent style to create a combo class.
Get styles
Retrieve a list of styles from the site.
Specify “all” to get all styles or “filtered” to use filter_ids.
If true, the response will not include style properties.
If true, includes styles from all breakpoints (can be data-intensive).
An array of style IDs to retrieve when query is “filtered.”
Update style
Update a style’s properties for a specific breakpoint and pseudo-class.
The name of the style to update.
The breakpoint to target (e.g., main, medium, tiny). Defaults to main.
The pseudo-class to target (e.g., hover, focus). Defaults to noPseudo.
An array of property objects to add or update.
An array of property names to remove.
Learn about Webflow styles and supported CSS properties
A tool, that when called, will get a list of all CSS properties supported by the Webflow Designer.
Tool: de_learn_more_about_styles