for する要素を縦に並べる:
// icons
for $id in (
'foo' \
'bar' \
'baz'
)
.{$id}-icon
background-image: url('/path/to/' + $id + '.png')
More than 5 years have passed since last update.
for する要素を縦に並べる:
// icons
for $id in (
'foo' \
'bar' \
'baz'
)
.{$id}-icon
background-image: url('/path/to/' + $id + '.png')
Register as a new user and use Qiita more conveniently