Re: Proposed ::last-line and ::last-letter selectors

Andrés wrote:
> <p>Welcome to the site where you will start hacking everything.
> Prepare to hack.</p>
> 
> p::last-letter { display: none }
> p:after { content: "_"; text-decoration: blink }

You would and should have to use some HTML there.

What if the text wrapped like this?

<p>Welcome to the site where you will start
hacking everything. Prepare to hack.</p>

Or this? (one line if it doesn't come out):
<p>Welcome ... everything. Prepare to hack.</p>

-Alastair

Received on Tuesday, 15 August 2006 14:04:46 UTC