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


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.

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