Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] [class*='grid-']:last-of-type Reply To: [class*='grid-']:last-of-type

#150304
Paulie_D
Member

Wait…no, I think I have cracked it….you didn’t specify the element type that the last of type was to apply to.

If you make it div[class*='grid-']:last-of-type I think it works.

http://codepen.io/anon/pen/fvome

What you had before was (I think) , effectively last-of-class and that doesn’t exist.