Forums

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

Home Forums CSS LESS: Darken color of parent based on child Re: LESS: Darken color of parent based on child

#108277
Mottie
Member

I’m not sure if you can iterate through elements with LESS, but I know SCSS can… check out this CodePen by Chris

http://codepen.io/chriscoyier/pen/nfpJk