Styles
The Styles tools enable you to create and manage CSS classes, apply responsive styling across breakpoints, and link design variables to create a cohesive design system.
Designer tools require the MCP Bridge App to be open in the Webflow Designer. Ensure it’s connected before using these tools.
When to use
Use Styles tools to:
- Create style classes: Define reusable CSS classes for your design system
- Apply responsive styles: Configure styles for different breakpoints
- Update existing styles: Modify properties across breakpoints and pseudo-classes
- Build combo classes: Create style variations by extending base classes
- Link variables: Connect styles to design variables for consistency
Tool details
Tool name: style_tool
Available actions
Create style
Create a new style class with custom CSS properties.
Action: create_style
Parameters:
Example usage:
Use parent_style_name to create combo classes that extend a base class with additional styling.
Get styles
Retrieve all or filtered styles from the site.
Action: get_styles
Parameters:
Example usage:
Update style
Modify existing styles across breakpoints and pseudo-classes.
Action: update_style
Parameters:
Breakpoint options: xxl, xl, large, main, medium, small, tiny
Example usage:
Breakpoint system
Webflow uses a responsive breakpoint system:
Styles cascade from larger to smaller breakpoints. Set base styles on main, then override for smaller screens.
CSS properties
Always use longhand CSS properties, never shorthand.
✅ Correct: margin-top, margin-bottom, margin-left, margin-right
❌ Incorrect: margin
Webflow Designer requires longhand properties for precise control.
Best practices
Use semantic class names
Choose descriptive, purpose-driven names:
- ✅
button-primary,heading-large,card-container - ❌
blue-button,big-text,div-1
Good names describe purpose, not appearance.
Build with combo classes
Create a base class with shared properties, then extend with combo classes for variations:
- Base:
button(padding, border-radius, font) - Variant:
button-primary(colors) - Variant:
button-secondary(alternate colors)
This keeps styles DRY and maintainable.
Use variables and variable modes for consistency
Link commonly used values to variables:
- Brand colors → Color variables
- Spacing values → Size variables
- Font families → Font variables
Change variables to update styles site-wide. Use variable modes to create different variations of the same style.
Limitations
- Longhand only: Must use longhand CSS properties
- Designer required: Styles tools need Bridge App connection
- No custom CSS: Can only use Webflow-supported properties
- Variable types: Can only link compatible variable types to properties