On 21/10/2011 2:15 PM, Elli Vizcaino wrote:
It seems like you get what inherit does/mean and and how it differs from what happens to child elements of a parent with opacity applied. Would you know how to explain the difference?
Try this code Elli. <!DOCTYPE html> <style type="text/css"> #parent { color: white; background: green; } #child { color: red; background: white; border: 10px solid silver; padding: 1em; } #child:hover { color: white; background: inherit; } </style> <div id="parent"> Parent <div id="child">Child Element ~ hover me</div> Element </div> -- Alan Gresley http://css-3d.org/ http://css-class.com/ ______________________________________________________________________ css-discuss [css-d@lists.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/