css-$14.lzx
<canvas height="70" width="100%">
<stylesheet>
view {
height: 50;
width: 50;
bgcolor: #FF0000;
}
[name='blue'] {
height: 40;
width: 40;
bgcolor: "blue";
}
#green {
height: 30;
width: 30;
bgcolor: rgb(0,102,0);
}
</stylesheet>
<view layout="axis: x; spacing: 25">
<view id="red" name="red" width="$style{'width'}" height="$style{'height'}" bgcolor="$style{'bgcolor'}"/>
<view id="blue" name="blue" width="$style{'width'}" height="$style{'height'}" bgcolor="$style{'bgcolor'}"/>
<view id="green" width="$style{'width'}" height="$style{'height'}" bgcolor="$style{'bgcolor'}"/>
</view>
</canvas>
Cross References
Named Instances