Does this work? .flipcontainer:hover .overlay, .flipcontainer:focus .overlay { opacity: 1; }
Best, Karl Sent from losPhone > On Jul 26, 2019, at 12:17 PM, Sandy Feldman <sa...@sandyfeldman.com> wrote: > > hey all, > > I have a thing where the css is working on hover but not on focus. I have the > same syntax for both. The css validates. What am I missing here?! > > .flipcontainer:focus .overlay { > opacity: 1; > } > .flipcontainer:hover .overlay { > opacity: 1; > } > > http://ineeda.coffee/2rollover.html > > thanks! Sandy > > ______________________________________________________________________ > css-discuss [css-d@css-discuss.org] > 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/ ______________________________________________________________________ css-discuss [css-d@css-discuss.org] 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/