CanaryNoir
11/5/2014 - 2:19 PM

nth-child

nth-child

li:nth-last-child(1):nth-child(odd) {width: 100%;}

or

li:last-child:not(:nth-child(even)){ width: 100%; }


/*
make last item do something but only if it's odd-numbered 
(so like a 7-item menu in responsive view 
-- 7th one will be 100% but if there are 6, they'll all be 50% 
*/