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

Re: Responsive CSS3 Transitions

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 4 Sep 2012 08:47:46 -0700
Message-ID: <CAAWBYDD3s2N=8NsuPKy-NVFWCNQFGX9p=nzAxnPgtyG==ub-jw@mail.gmail.com>
To: Greg Houston <gregory.houston@gmail.com>
Cc: W3C Style <www-style@w3.org>
On Mon, Sep 3, 2012 at 6:06 PM, Greg Houston <gregory.houston@gmail.com> wrote:
>>> 2. If you slice up a div into smaller divs and add the same background
>>> to each slice as the parent and reposition that background
>>> appropriately, each background will still be the correct size to
>>> rebuild the original image from the slices. That is, unless you have
>>> resized the original container div and set the background-size to
>>> something like "auto 100%". That new background-size in pixels will
>>> not propagate down to the children, and so each child element now
>>> requires additional math to set the size of the background in relation
>>> to the size of the slice. It would be helpful if there was a CSS
>>> toggle that would make the exact size of the parent background
>>> propagate to the children.
>> I don't understand the problem you're outlining.  Can you link to a
>> concrete example?
> http://greghoustondesign.com/sandbox/background-size/

Yeah, I understood the mechanics there.  I don't see why it's a
problem.  ^_^  Why are you putting the same background on a child?
What is the child being used for?  Can you achieve the same effect
some other way that doesn't require anything new in CSS?

Received on Tuesday, 4 September 2012 15:48:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:21 UTC