Re:AbsurdJS – JavaScript based CSS preprocessor
by chadscira on Friday October 11, 2013 @07:16PM
(#6536442)
How do you handle defining multiple @font-face's?
[ Parent
| on HN ]
Re:AbsurdJS – JavaScript based CSS preprocessor
by lux on Friday October 11, 2013 @08:40PM
(#6536731)
Not sure if it supports it, but couldn't an array be used? For example:
"@font-face": [
{ /* font one },
{ /* font two }
]
Re:AbsurdJS – JavaScript based CSS preprocessor
by krasimirtsonev on Saturday October 12, 2013 @03:16AM
(#6537651)
It is actually possible if you turn of combineSelectors. Or you may create two different instances of AbsurdJS and at the end merge their output.