Home › Forums › CSS › Target Last Item in a Column › Re: Target Last Item in a Column
February 25, 2011 at 12:58 am
#58354
Member
If you’re using jquery you could use something like: $(‘#column-1 .section:last’).css(‘background’, ‘orange’);
That would look inside of column-1 and find the last element with a class name of ‘section’ and change it’s background to orange! Which just happens to be the best color!