Forums

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

Home Forums CSS [Solved] nth-last-of-type Reply To: [Solved] nth-last-of-type

#171648
Paulie_D
Member

Because you are re-using ID’s which is not allowed AND your green block has a different ID.

You can’t use pseudo-classes like nth-last-of-type on classes or IDs…only elements.

See: http://codepen.io/Paulie-D/pen/rvLhk