- From: Brad Kemper <brad.kemper@gmail.com>
- Date: Wed, 10 Nov 2010 10:33:02 -0800
- To: Gabriel Zackari <gabriel.zackari@gmail.com>
- Cc: "www-style@w3.org" <www-style@w3.org>
Received on Wednesday, 10 November 2010 18:34:10 UTC
On Nov 10, 2010, at 5:55 AM, Gabriel Zackari <gabriel.zackari@gmail.com> wrote: > Css suggestion: > > Tiling a background with the "starting" position offset for each row or for each column: > > Example (syntax need to be improved) > > Background-position: offset-x 10px; > This would offset the starting position for each tile on every row with 10px. > > > Or random number? > > Background-position: offset-x rnd 10-40px; > Would offset the position randomly between 10 and 40 pixels. > > Rationale: > > Offsetting each row of a background tile, would be a memory effecient way to > create a much more varied background pattern. > > Eliminating the repeativeness of a pattern and the need for large pattern to create a look of randomness. > Thus making many websites more memory effecient. > > It would also be a cheap way to create diagonal patterns. > > Sorry if this has been suggested before. I would think such a thing would best appear as a value for 'background-repeat'. Take a look at 'background-repeat: space'. It not what you are looking for exactly, but there are some similarities. I could imagine using two measurements instead of two keywords there for the spacing. Not sure about random spacing.
Received on Wednesday, 10 November 2010 18:34:10 UTC