Uno Spettro
Uno Spettro

Reputation: 47

Sass: how to manage blank space inside a single string of an array

I need to insert 'Roboto', sans-serif as a single string of an array. I tried something like that:

$p: (2vw 4vw 3vw 4.5vw 'Roboto'+,sans-serif)

but it doesn't work. Any suggestion? Thanks

Upvotes: 1

Views: 30

Answers (1)

miir
miir

Reputation: 1926

You can use the following method to create a list element that contains the special list delimiter characters like spaces or commas.

unquote("'String', with random, delimeters")

Upvotes: 1

Related Questions