- From: Andrew Fedoniouk <andrew.fedoniouk@live.com>
- Date: Thu, 7 Jul 2011 23:51:53 -0700
- To: <www-style@w3.org>
It would be convenient if CSS will have 'background-image-frame: "string" ' property. PNG and other image formats support annotated/taged/named sub-images so in principle they can be used as image-lists - single-file collections of multiple images / frames. CSS "sprites" as a workaround are quite popular among Web designers but current solution [1] looks more like a hack rather than a solution. This: #panel1b a { background: url(test-3.jpg) "normal" no-repeat; } #panel1b a:hover { background-image-frame: "hover"; } #panel1b a:active { background-image-frame: "active"; } [1] http://www.alistapart.com/articles/sprites -- Andrew Fedoniouk http://terrainformatica.com
Received on Friday, 8 July 2011 06:52:34 UTC