The Whiz of Oz
The Whiz of Oz

Reputation: 7043

Forward slash in a Slim classname?

Anyone knows how to make a classname such as .w-1/3 work in Slim? In regular css to use a forward slash in a class name it needs to be escaped: w-1\/3 but this does not work in Slim.

Upvotes: 0

Views: 267

Answers (1)

Vasilisa
Vasilisa

Reputation: 4640

Slim doesn't support forward slashes in class names. I think there is the only one way for it: div class="w-1/3"

Upvotes: 1

Related Questions