Slater New
« back to Blog

Slater & CSS

Jared Malan
Director Of Technology
 @
Edgar Allan

Do you use Slater for CSS? CSS support in Slater has always been somewhat of an afterthought—JavaScript is our love language! But sometimes, you need a simple way to add CSS to your project. Maybe you want to write a complex grid or use a CSS property that Webflow doesn't support. That's why we've decided to make CSS a first-class citizen.

We considered launching the new CSS functionality today, but we want to test it a bit more. Expect it early next week.

To prepare for the launch, let's highlight 3 CSS solutions found in the Community Library:

Community Library

Pointer events
​CSS classes to control pointer events: .pointer-events-off disables interactions, .pointer-events-on enables interactions.

Ellipsis text
CSS class to truncate text with ellipsis when it overflows the container width.

Hide scrollbars
CSS class to hide scrollbars

Have you added a useful script to your library? Share it with us!

Try it out for yourself

Sign up for a free trial and see if Slater is for you.

Share this post

We are building a first-class development experience that bridges together code and no-code.