- From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
- Date: Thu, 15 Mar 2012 09:46:03 +0000
- To: Alexander Shpack <shadowkin@gmail.com>
- Cc: www-style <www-style@w3.org>
On Thu, Mar 15, 2012 at 8:41 AM, Alexander Shpack <shadowkin@gmail.com> wrote: > Main goal: more flexible content constructor, based on HTML templates > > Usage: > > content: pattern(#id); > > where id = unique identifier > > > Example > > Code: > > <div><span id="contentPattern">This is </span>madness!</div> > <div id="content">SPARTA!</div> > > #content { > content: pattern(contentPattern); > } > > Result: > > This is madness! > This is SPARTA! Hmm. Can you give an example of where you'd use this in a real design? -- Benjamin Hawkes-Lewis
Received on Thursday, 15 March 2012 09:46:56 UTC