CSS classes don't have spaces

But webflow lets you put spaces in classes. If i wanted to embed some code and the class I created in webflow has spaces how do I select the class in CSS when I write the code?


Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Always best to look at the HTML that’s being generated, when you’re writing script.
That said, the conversion process is nearly always - lowercase everything, and convert spaces to underscores.

My Awesome-Class

becomes

my_awesome-class

1 Like