Created
          July 2, 2012 12:13 
        
      - 
      
 - 
        
Save hdragomir/3032958 to your computer and use it in GitHub Desktop.  
Revisions
- 
        
hdragomir created this gist
Jul 2, 2012 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ /** * Weird behavior when combining opacity & z-index: -1 */ div { position: relative; width: 200px; height: 200px; background: yellowgreen; /* Try commenting this or setting it to 1: */ opacity: .9; } div > div { position:absolute; z-index: -1; width: 200px; height: 200px; background: #d00; } 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ <div> <div></div> </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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ {"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}