Closed gavinmcfarland closed 10 years ago
We suggest using a breakpoint:
prefix on attribute values for responsive styles. So, in your examples:
<div am-row>
<div am-column="md:8">.col-md-8</div>
<div am-column="md:4">.col-md-4</div>
</div>
See this section of am-grid for an example: https://github.com/benschwarz/am-grid/blob/master/src/grid.css#L134
Ah I see. Cool Thanks. That makes sense.
I was wondering if you have any suggestions for how you might write attributes which you want styled differently for different contexts.
For example in Bootstap you might write
How would you see this being written using Attribute Modules? Something like this perhaps?