Created
          January 25, 2012 14:38 
        
      - 
      
 - 
        
Save anonymous/1676554 to your computer and use it in GitHub Desktop.  
    Untitled
  
        
  
    
      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
    
  
  
    
  | .g-hidden { | |
| } | |
| .black_square { | |
| position: relative; | |
| width: 20px; | |
| height: 20px; | |
| } | |
| .black_square:before { | |
| content: ""; | |
| position: absolute; | |
| left: 3px; | |
| top: 3px; | |
| width: 14px; | |
| height: 14px; | |
| background: red; | |
| display: block; | |
| transform: rotate(45deg); | |
| } | |
| .tile { | |
| width: 20px; | |
| height: 20px; | |
| background-color: linen; | |
| background-image: -moz-element(#SQ); | |
| background-repeat: no-repeat; | |
| background-position: 0 0, right bottom; | |
| } | |
| .chessboard { | |
| width: 160px; | |
| height: 160px; | |
| border: 1px solid black; | |
| background: -moz-element(#Tile) | |
| } | 
  
    
      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
    
  
  
    
  | <!-- content to be placed inside <body>…</body> --> | |
| <div class="black_square g-hidden" id="SQ"> | |
| </div> | |
| <div class="tile g-hidden" id="Tile"> | |
| </div> | |
| <div class="chessboard"> | |
| </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-vertical","prefixfree":"1","page":"css"} | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment