--- On Wed, 1/19/11, Tim Climis <[email protected]> wrote: > From: Tim Climis <[email protected]> > Subject: Re: [css-d] drop down vertical nav? > To: [email protected] > Date: Wednesday, January 19, 2011, 1:14 AM > On Tuesday, January 18, 2011 6:33:03 > pm Matthew P. Johnson wrote: > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] > On Behalf Of Matthew P. > > Johnson Sent: Tuesday, January 18, 2011 3:31 PM > > To: [email protected] > > Subject: [css-d] drop down vertical nav? > > > > Can a drop down effect for a nav be created using pure > css? > > > > No. The issue here is that CSS has no "after click" > state. > > It could (in theory -- I haven't tried) do this if you > wanted the folder to > extend when you hover over it (:hover), or when you tab on > to it with the > keyboard (:focus) (including the graphics), but it can't do > it on a click.
:focus *will* apply on *some* elements when you click them. Links, for example. So a link with a fragment identifier will have its :focus style applied when clicked. Whether this could actually be used to solve the original problem is another matter, of course. - Bobby ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
