This addon allows to specify multiple values for the same declaration property.
nano.put('.foo', {
display: ['flex', '-webkit-flex']
});
Result:
.foo {
display: flex;
display: -webkit-flex;
}
It also allows to specify multiple CSS-like objects as an array, which will be merged.
nano.put('.bar', [
{
color: 'red'
},
{
border: '1px solid red'
}
]);
Result:
.bar {
color: red;
border: 1px solid red;
}
Simply install array
addon. Read more about the Addon Installation.