W3C home > Mailing lists > Public > www-style@w3.org > November 2011

New CSS rule suggestion

From: Shane <shanept@iinet.net.au>
Date: Wed, 16 Nov 2011 00:24:57 +0800
To: www-style@w3.org
Message-ID: <1321374297.8613.23.camel@shane-pc>
I have a suggestion for a background text watermark rule. Although it is
achievable with an image or a fair amount of HTML and CSS use, it is far
more practical to be able to put in place a simple rule rather than
going to all the extra effort to achieve the same goal.

Syntax in my mind would be something like this:
watermark: text, font, font-size, x-position, y-position, color;

Through the use of this rule, a developer may cut down on resources used
on the page, and/or code. This will noticeably speed up load time if
used extensively, but more importantly will speed up development time,
spending less time on creating these images or fiddling with new
elements and rules to get a 'watermark' on an element.
Received on Wednesday, 16 November 2011 08:36:49 GMT

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