Created
April 16, 2012 01:44
-
-
Save LeaVerou/2395915 to your computer and use it in GitHub Desktop.
Opera bug with box-shadow: inherit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Opera bug with box-shadow: inherit | |
| */ | |
| div { | |
| width: 300px; height: 200px; | |
| padding: 20px; | |
| box-shadow: 1px 1px 10px black; | |
| } | |
| span { | |
| display: block; | |
| height: 100px; | |
| box-shadow: inherit; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div> | |
| <span></span> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"view":"split","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment