Client-First CSS in Webflow: Complete Guide for 2025
By UpBuilder Team
Client-First is the most popular CSS methodology for Webflow projects. It provides a standardized system for naming classes, organizing styles, and building scalable websites.
What is Client-First?
Client-First is a CSS naming convention and organizational system created by Finsweet. It's become the industry standard for professional Webflow development because it:
- Makes projects easier to maintain
- Enables team collaboration
- Reduces CSS bloat
- Creates consistent, predictable styling
Core Principles
1. Utility Classes
Small, single-purpose classes that do one thing:
text-color-primary- Sets text colorpadding-large- Adds paddingmargin-top-medium- Adds top margin
2. Component Classes
Classes that define reusable components:
button- Base button stylesbutton_primary- Primary button variantcard- Card component
3. Section Structure
Every section follows a consistent structure:
section_[name]- The section wrapperpadding-global- Horizontal paddingcontainer-large- Max-width containerpadding-section-large- Vertical padding
Why UpBuilder Uses Client-First
When you export from UpBuilder to Webflow, your code follows Client-First conventions automatically. This means:
- Your Webflow projects are immediately maintainable
- Other developers can understand your code
- You can extend and customize with confidence
- No need to refactor or clean up after import
Getting Started
The easiest way to start with Client-First is to let UpBuilder generate it for you. Every design you export follows these conventions automatically, so you can learn by examining the output.