W3C home > Mailing lists > Public > www-style@w3.org > September 2010

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

From: Alexander Shpack <shadowkin@gmail.com>
Date: Wed, 22 Sep 2010 10:07:36 +0300
Message-ID: <AANLkTi=JounD2dk2edNVSqMmN4b6jrUKEtPoESz_98tU@mail.gmail.com>
To: Rob Crowther <robertc@boogdesign.com>
Cc: www-style@w3.org
>
> 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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:31 GMT