Grow your CSS skills. Land your dream job.

Can :LAST-WORD be targeted?

  • # August 5, 2011 at 2:31 pm

    I know about :first-letter and :first-line, but what about :last-letter or :last-line?

    # August 5, 2011 at 2:35 pm

    Not that I’m aware of.

    # August 5, 2011 at 4:04 pm

    Nor me….not that I can think of a reason for doing so.

    I suppose it might be possible with JS but that’s beyond my expertise.

    # August 5, 2011 at 5:03 pm

    The pseudo element :lastword does not exist. But you can achieve this using lettering.js

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".