Friday 15 May 2015

sass - In a Susy gallery I need to span the first element across the first two gallery columns -


Already told.

I have set up a gallery made of elements in six columns. However I want the first element to span the first two columns of the gallery.

screen shot of my current, wrong, layout

 < Code> $ DeskColl: 12; .col.sixth {@ Gallery ($ $ 2 dollars); } .col.Sixth.strap {?? } & Lt; Div class = "colsixth strap" & gt; Content needs two sixth edition & lt; / Div & gt; & Lt; Article class = "callquery" & gt; The sixth edition of the content & lt; / Article & gt; & Lt; Article class = "callquery" & gt; The sixth edition of the content & lt; / Article & gt; & Lt; Article class = "callquery" & gt; The sixth edition of the content & lt; / Article & gt; & Lt; Article class = "callquery" & gt; The sixth edition of the content & lt; / Article & gt;  

Is there a way to offset the gallery function again? I have tried to isolate it and I've added extra padding on the .asp element, but it closes and closes the first line of the gallery on the page. And even more: first-child selectors were tried in different flavors.

Do you want the first item to run only two columns? In that case, you would not want to use the Gallery function (use the period instead).

To simplify things, you may want to switch the gutter to the inside as well.

Here you can do the following:

  .col.sixth {@iinclude span (in 2 out of 12); & Amp ;: Include first-child {@ (4 of 12); }}  

Try it out and tell me


No comments:

Post a Comment