Webflow Client First Quick Guide
Webflow Client First Quick Guide
Classes
Strategy for how to identify, use, and manage classes inside Webflow as a platform.
Utility Show in docs Custom Show in docs Meaningful & Show in docs
A utility class is created for a specific combination A custom class created for a specific and complete naming
of CSS properties, which can be applied to identifiable component, page, grouping of Class names should say what they do. The name of a
elements across the project. elements, or single element. class should answer these questions:
Utility classes use dashes ‘-’ only. Custom classes use an underscore ‘_’ to define the "What is the purpose of this class in the project?
“custom folder name”. "How can I give the most context into what this
text-size-large class is responsible for in the project?"
background-color-gray header_background-layer
testimonial-slider_headshot Give classes meaningful names.
testimonials_wrapper Yes
General → to → specific
Updating a utility class will update all instances in Better for maintaining a project as it’s more flexible class naming convention
the project that use the utility class. It is ‘global’ by to changes. Avoid over-stacking classes and making
nature. site-wide mistakes.
text-size-large
This class is used to style a text
is always can be element.
Global Show in docs Combo Show in docs This class is used to make the text size large.
A global class is intended for use across the entire A combo class is a variant to a base class. It inherits
project. It is a further classification of the purpose of
a class.
styles from the base class and adds more styles on
top of it. team-list_headshot-wrapper
Custom class folder name. This is
Utility classes & custom classes can Use prefix ‘is-’ to define a combo class. the “team list” component related
to the team page or a team section.
be global classes.
button is-blue This class is used for the
headshot element in the team list.
A global class can use ‘-’ or ‘_’ header_content is-home
This class is used for the element wrapping
the headshot element.
header_background-layer
faq_item Use this naming approach to stay organized.
Custom classes for the “team list” component are
grouped in the same folder.
team-list_component
Useful for adding additional styles for a specific
instance. team-list_headshot-image
team-list_headshot-texture-layer
team-list_headshot-background
P age structure
Strategy for the core structure of each web page. Show in docs
page-wrapper Outermost parent of all elements Helps to copy paste the entire page to a di erent
/ ff
navbar The nav element specifies a list of <nav T tag is placed outside of the main-wrapper
> H ML
main-wrapper The “main” or page-specific Use a main < > H ML T tag for accessibility best
content of the page. practice.
section_ identifier
[ ] Wraps an entire section of content. H elps to organize Webflow Navigator panel. T
H ML
padding-global H orizontal spacing of a page s content ' Used for site-wide left and right outer
padding of each page.
container- size [ ] Sets a max-width for all page content Includes sizes of max-width small ,
3
Use REM Show in docs Accessibility benefits Show in docs Minimal stacking Show in docs
What is REM? The rem unit is based on one thing — Browsers can zoom normally when a project is built strategy
T root font size. By default it’s 16px
H ML in RE . M
Build a maintainable project and avoid
Browser font size settings that are modified by end- “deep stacking” classes.
users will be respected.
* VW, VH values are not respected for full text-size-small text-color-grey 1 or 2 = Great
Apply REM to all elements in Client-First, accessibility compliance.
text-weight-light 3 = k O
including typography, spacing, widths, and
anything else that requires a size unit. text-style-italic 4 = Avoid
text-style-2lines 5 = Do N T O
faq_item background-color-black
text-color-white text-style-italic
faq_item is-dark
M erge stacked classes to a combo class.
3. Nest another Div block
You can a lso make a calculation straight in the text-color-grey
Style field by typing ‘value/16 rem‘ and then Enter.
The fluid responsive strategy is an optional add-on. max-width-large
Add it, or don't add it, to any project. The
implementation requires no workflow change.
Pro tip: Use ‘PX to REM migrator’ in Finsweet Fluid responsive can be added at the end of the Useful for avoiding stacked utility classes.
Extension to convert existing projects to rem. project after everything is developed. Recommended when stacking utility classes of
di erent types, like typography and max-width.
ff
Typography
Strategy for project typography using utility classes Show in docs
Tags Heading classes Text size Text alignment Custom typography classes
Use text-size- classes to change the size Use text-align- classes to align the text. Create a custom class if the typography
H 1 heading-style-h1 4rem
of a text element. instance is very unique, requires deep
H 2 heading-style-h2 3rem text-align-left stacking or is better managed outside of
text-size-large 1.5rem text-align-center the utility system.
H3 heading-style-h 2rem 3
text-size-medium 1.25rem text-align-right
H 4 heading-style-h4 1.5rem Deep stacking typography classes:
text-size-regular 1rem
H 5 heading-style-h5 1.25rem
text-size-small
More text utility classes
0.85rem
H 6 heading-style-h6 1rem
text-size-tiny 0.75rem
Use the correct T eading tag based
H ML H M ore utility classes to help maintain a
on the eading’s hierarchy on the page.
H global typography system for the project.
Use heading-style- classes only to Text color text-style-2lines Truncate the text
override the default eading tag style. H
Use text-color- classes to change the text-style- lines3 Truncate the text
If the 11 on the page should be styled color of a text element. It is encouraged to
HH
add more utility class colors based on the text-style-allcaps e.g. A CA S
like an 1, don’t apply any class to it.
LL P
H
project styles. text-style-italic e.g. it ic M erge classes to a custom class. Use
Finsweet Extension to merge classes
al
4 2
weight: 700
footer_copyright-text
text-weight-bold
H H
Spacing
Strategy for consistent spacing Show in docs
Utility classes Show in docs Content sections Custom classes Show in docs
Two methods: “Spacing wrapper” and “Spacing block” Create custom class to an element when it
padding-section- size
requires unique spacing that is not
[ ]
margin- direction margin- size M argins are also included as spacing wrappers.
argins follow the same structure as padding.
[ ] [ ]
M
Spacing strategy
Spacing blocks Show in docs Wrappers Show in docs Grid / flex Show in docs
How it works
Add block between elements to add spacing. Add content inside a Div block with Spacing utility Add content inside wrapper with grid
classes. or flex styles applied.
spacer- size [ ]
padding-bottom testimonials_content
padding-medium
padding-medium
How it looks
Heading Heading
padding-bottom padding-medium
Heading
testimonials_content
spacer-medium
Text link
Text link
Navigator
Folders
Control and organize classes with Folders Show in docs View the Folders decision DF P
with the Client-First cloneable and it has necessary projects and keep your clients happy. With a great entire screen
developer
Sales points :
100 VH 100S VH 100D VH 100 LVH
Maintenanc
Scalabilit
Accessibilit
Community recognize
Inclusivity - available on 6 languages https: [Link]
// /