javascript - SkelJS - Differents rows offsets, one for each specific breakpoints -
I am starting to use scale to create sensitive web designs.
For the width of optional units, my differents breakpoints
refer to this code:
& lt; Div class = "-1u 10u -1u" & gt; & Lt; P & gt; Some text ads & lt; / P & gt; & Lt; / Div & gt; So here, we have offset of 1u on each side of the line what I want to do, setting specific offsets for each breakpoint I (Wide, Medium, Small , Xxsml).
When I do not need an offset, I do this:
& lt; Div class = "2u 6u (medium) 12u (small)" & gt; & Lt; P & gt; Some text ads & lt; / P & gt; & Lt; / Div & gt; But with the offsets this is just the way I am hoping for, no help will be very useful for me.
I probably could not fully understand how SkelJS is working, so please forgive me if the answer is in the doctor. Thanks in advance for your answer.
Imagine that you want in broader mode: 3 offsets + 6 units + new
Then in the middle: 2 offsets + 8 units + new line
and in small: 12 units:
You will type:
Lt; Div class = "- 3u (wide) 6u $ (wide) -2u (medium) 8u $ (medium) 12u (small)" & gt; & Lt; / Div & gt;
Comments
Post a Comment