I'd like to know if it's possible to select only the last of a given attribute in CSS3. I'm currently using:
But the last element should have a special treatment. I have no way to know if it's the last-child or last-of-type. I can know which is the parent element, though.
There are probably several ways, but it would be easiest to answer if we saw your HTML. I would probably go for last-child, but if there is a class on the last element, that's easier and would work in more browsers, of course.