All coursesLay out & style your site
Review: Style selector types
We’re transitioning to a new UI, and are in the process of updating our Webflow University courses and videos.

Review: Style selector types

Review how different Style selectors work in Webflow.

Review: Style selector types

Review how different Style selectors work in Webflow.

Style selectors

Style selectors define what the browser should style — like a class applied to an element. When you apply the same selector to other elements, they inherit the styles defined by that selector. In other words, those elements take on the same visual styling.

Learn more about style selectors in Webflow below.

Tags

Tag selectors apply styles to all elements with the same HTML tag, like all <h1> heading elements or all <p> paragraph elements on your site. This is useful when you want to set consistent styles for a particular type of element without creating a class for each one. 

For example, you might want all paragraphs on your site to have the same font size and line height. You could set those specific properties on the <p> tag. 

Tag inheritance

  • Tag styles apply to all elements with the same HTML tag.
  • Tag styles are overridden when an element property is set by a class (tag styles only apply to elements that don’t already have class-based styling).
Webflow showing a paragraph element using the “All Paragraphs” tag selector, with style settings for size, line height, and text color.

Classes

A class is a reusable set of styles that you apply to one or more elements. Classes help you keep your design consistent and make global updates easier by allowing you to control multiple elements from one place.

For example, you might create a class called card to style background color, border radius, and padding for content cards across your site.

Class inheritance

  • Styles set on a class apply to every element using that class.
  • Changes to a class update all elements using that class, unless a more specific style (like a combo or utility class) overrides them.
Webflow showing a selected “Data card” element with a “Data card” base class applied, and Style panel settings for color and border radius.

States

You can also style different states of an element — like hover, focused, or pressed — using the same class. These styles only appear when someone interacts with the element in that way.

For example, you might want a button to change background color on hover or add a subtle shadow when focused for accessibility.

State styles are saved within the class, so you don’t need to create a separate class for each interaction. Just select the element, choose a state from the dropdown in the Style panel, and apply your styles.

Combo classes

A combo class is a variation of a base class. It lets you add or override styles on top of the base class without affecting other elements that use the original.

For example, if you have a card class, you could add a combo class like is-featured to change the background color or add a border for featured content, while keeping the base card styles like padding and font size.

Combo class inheritance

  • Combo classes inherit all styles from the base class.
  • If you override a property on the combo class, that property no longer inherits from the base.
  • Updates to the base class still affect the combo class unless that property has been overridden (set on the combo class).
Webflow showing a button element styled with a “Button” base class and an “is-light” combo class, with the Style panel displaying background and border settings.

Global classes

Global classes (also called utility classes) are single-purpose styles you can apply on top of any element. They’re not connected to a base class and are designed to be flexible, stackable, and reusable. 

For example, you might create a global class called u-shadow-medium to add a consistent drop shadow to any element — including cards — without affecting the rest of the element’s styles.

Global class behavior

  • Global classes are standalone and don’t inherit from or pass styles to other classes.
  • They apply only the styles set on that class, and can be layered with other classes on the same element.

Ready for more?

Click Complete & continue in the Course progress box on the right to review how you can view and manage Style selectors on your site.

No items found.

1

Getting started

Coming soon

1

Background & preview
2:00
Background & preview
Coming soon

1

Intro to styling in Webflow
6:38
Intro to styling in Webflow
Coming soon

2

Style selectors

Coming soon

2

Style selectors
3:46
Style selectors
Coming soon

2

Working with classes in Webflow
Working with classes in Webflow
Coming soon

2

Review: Style selector types
3:00
Review: Style selector types
Coming soon

2

Viewing & managing selectors
2:00
Viewing & managing selectors
Coming soon

3

Layout & display settings

Coming soon

3

Intro to the box model
3:04
Intro to the box model
Coming soon

3

Intro to CSS layout
10:48
Intro to CSS layout
Coming soon

3

Review: CSS layout
3:00
Review: CSS layout
Coming soon

4

Wrap up

Coming soon

4

Bonus: Class naming convention
2:00
Bonus: Class naming convention
Coming soon

4

Additional resources
2:00
Additional resources
Coming soon

Course progress

0%

Assessment

Up next

Viewing & managing selectors

See where styles are applied and keep your site’s styles organized.
Complete & continue
Complete course