1

My first div spans 12 columns while the next divs only spans 3 columns. Something like this:

enter image description here

So I thought having omega(3n+1) to select the third div after the first one would be manageable. Turns out, as it's said in Neat documentation, composite argument such as 3n+1 is not supported.

I have tried div:first-of-type ~ div { @include omega (3n); } to select the third occurrence after the first div, but to no avail.

Any idea what's the alternative?

deathlock
  • 2,756
  • 5
  • 27
  • 48
  • Do all the divs need to have identical markup - is it possible to have a different class on the first div? – Mike Harrison Oct 10 '16 at 15:30
  • @MikeHarrison it is possible, yes. But how would you style it? Because `nth-child` seems to count the first element too http://jsbin.com/cidebujiwo/edit?html,css,output And I can't change the first `div` to another element. – deathlock Oct 12 '16 at 04:39
  • 1
    Hmm that's a gnarly one then - if possible I would work with a couple of containers, one for the top div and another for the bottom ones. I will see what I can do with your existing markup though – Mike Harrison Oct 12 '16 at 10:46

0 Answers0