CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
[Solved] Can :LAST-WORD be targeted?
charlie
Permalink to comment
#
August 2011
I know about :first-letter and :first-line, but what about :last-letter or :last-line?
TheDoc
Permalink to comment
#
August 2011
Not that I'm aware of.
Paulie_D
Permalink to comment
#
August 2011
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.
chrisburton
Permalink to comment
#
August 2011
The pseudo element :lastword does not exist. But you can achieve this using
lettering.js
Add a Comment
I suppose it might be possible with JS but that's beyond my expertise.