Re: "Line" pseudo-element required to control indentation of pre-formatted text?

>
> span:each-line { padding-right: 1em; }
>
> I also have a picture in my head of a movie poster where there's a paragraph
> of text like it's written on a ribbon which is then cut up and pasted onto
> the poster.  Though I have no idea where I've seen it so I can't find an
> image, but something like this:
>
> p:each-line { background: url(ribbon.png) repeat-x; }
> p:nth-line(odd) { transform: rotate(-3deg);  }
> p:nth-line(even) { transform: rotate(3deg); }
>

What about next one?

p:each(line-box) { /**/ }
p:each(line-box):nth-child(odd) { /**/ }
p:each(line-box):nth-child(even) { /**/ }

Or each(anonymous-box)

Received on Wednesday, 22 September 2010 08:15:42 UTC