Streaming live at 10am (PST)

Independent classes like Bootstrap


#1

Hi All --

Wondering about best way to implement independent classes. For example, in Bootstrap, you could add ".warning" to any text class to make that instance red.

Right now, it seems like I could make my text "h1""warning", but it would have no relationship to a parent ".warning" class, where if I changed ".warning" to orange, it would change everywhere. In fact, I can't see anywhere I would go to update a specific class called "warning." Am I understanding how Webflow uses classes correctly?


Here is my public share link: LINK
(how to access public share link)


#2
  1. Add empty div to page
  2. Give it class warning
  3. Edit the styles on the div
  4. Delete the div (or move it to a hidden 'assets' page)

Now you can use warning as a global class


#3

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.