- From: Ms2ger <ms2ger@gmail.com>
- Date: Wed, 15 Aug 2012 12:14:34 +0200
- To: www-style@w3.org, Greg Houston <gregory.houston@gmail.com>
On 08/15/2012 05:34 AM, Greg Houston wrote:
> This is a request for a last-visible-child selector. I often wish to
> remove the bottom margin from the last visible child in panels, but
> this becomes complicated if the actual last child has either
> display:none or visibility:hidden so that the element that loses it's
> margin is the hidden one rather than the one that is visible.
So how would you handle
:last-visible-child {
display:none;
}
?
HTH
Ms2ger
Received on Wednesday, 15 August 2012 10:15:04 UTC