Last active
          August 1, 2016 17:23 
        
      - 
      
- 
        Save clanceyp/5583958 to your computer and use it in GitHub Desktop. 
    glossy panels
  
        
  
    
      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
    
  
  
    
  | /** | |
| * glossy panels | |
| */ | |
| body { | |
| background-color:#cecece; | |
| } | |
| div { | |
| background: rgba(0,0,0,0.5); | |
| border: 1px solid rgba(0,0,0,0.5); | |
| border-radius: 10px ; | |
| display:inline-block; | |
| height: 100px; | |
| margin: 10px; | |
| padding: 0; | |
| width: 100px; | |
| } | |
| div#id01 { | |
| box-shadow: | |
| 0 2px 6px rgba(0,0,0,0.5), | |
| inset 0 1px rgba(255,255,255,0.3), | |
| inset 10px 10px 5px rgba(255,255,255,0.2), | |
| inset 10px 10px 20px rgba(255,255,255,0.25), | |
| inset 0px -10px 20px rgba(0,0,0,0.5); | |
| } | |
| div#id02 { | |
| background: rgba(0,0,125,0.5); | |
| box-shadow: | |
| 0 2px 6px rgba(0,0,0,0.5), | |
| /* inset 0 1px rgba(255,255,255,0.3), */ | |
| inset 0 10px rgba(255,255,255,0.2), | |
| inset 0 10px 20px rgba(255,255,255,0.25), | |
| inset 0 -15px 30px rgba(0,0,0,0.3); | |
| } | |
| div#id03 { | |
| background: rgba(125,0,0,0.5); | |
| box-shadow: | |
| 0 2px 6px rgba(0,0,0,0.5), | |
| inset 0 1px rgba(255,255,255,0.3), | |
| inset 10px 10px 5px rgba(255,255,255,0.2), | |
| inset 10px 10px 20px rgba(255,255,255,0.25), | |
| inset -10px -10px 20px rgba(0,0,0,0.3); | |
| } | |
| div#id04 { | |
| background: rgba(0,125,0,0.5); | |
| box-shadow: | |
| 0 2px 6px rgba(0,0,0,0.5), | |
| inset 0 1px rgba(255,255,255,0.3), | |
| inset 4px 4px 8px rgba(255,255,255,0.5), | |
| inset 10px 10px 5px rgba(255,255,255,0.2), | |
| inset 10px 10px 20px rgba(255,255,255,0.2), | |
| inset -10px -10px 20px rgba(0,0,0,0.3), | |
| inset -4px -4px 8px rgba(0,0,0,0.3); | |
| } | |
| div#id05 { | |
| background: rgba(0,0,125,1); | |
| background-image: radial-gradient(farthest-corner at 80% 80%, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%); | |
| box-shadow: | |
| 0 2px 6px rgba(0,0,0,0.5), | |
| inset 0 1px rgba(255,255,255,0.3), | |
| inset 4px 4px 8px rgba(255,255,255,0.5), | |
| inset 10px 10px 5px rgba(255,255,255,0.2), | |
| inset 10px 10px 20px rgba(255,255,255,0.2), | |
| inset -10px -10px 20px rgba(0,0,0,0.3), | |
| inset -4px -4px 8px rgba(0,0,0,0.3); | |
| } | |
| div#id06 { | |
| background: rgba(125,0,125,1); | |
| background-image: linear-gradient(-60deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 40%, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); | |
| box-shadow: | |
| 0 2px 6px rgba(0,0,0,0.5), | |
| inset 0 1px rgba(255,255,255,0.3), | |
| inset 4px 4px 8px rgba(255,255,255,0.5), | |
| inset 10px 10px 5px rgba(255,255,255,0.2), | |
| inset 10px 10px 20px rgba(255,255,255,0.2), | |
| inset -10px -10px 20px rgba(0,0,0,0.3), | |
| inset -4px -4px 8px rgba(0,0,0,0.3); | |
| } | |
| div#id06 { | |
| background: rgba(125,0,125,1); | |
| background-image: linear-gradient(-60deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 40%, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); | |
| box-shadow: | |
| 0 2px 6px rgba(0,0,0,0.5), | |
| inset 0 1px rgba(255,255,255,0.3), | |
| inset 4px 4px 8px rgba(255,255,255,0.5), | |
| inset 10px 10px 5px rgba(255,255,255,0.2), | |
| inset 10px 10px 20px rgba(255,255,255,0.2), | |
| inset -10px -10px 20px rgba(0,0,0,0.3), | |
| inset -4px -4px 8px rgba(0,0,0,0.3); | |
| } | |
| div#id07 { | |
| background: rgba(125,0,0,1); | |
| background-image: radial-gradient(ellipse farthest-corner at 120% 90%, | |
| rgba(255,255,255,0) 0%, | |
| rgba(255,255,255,0) 30%, | |
| rgba(255,255,255,0.1) 31%, | |
| rgba(255,255,255,0.1) 64%, | |
| rgba(255,255,255,0) 64%); | |
| box-shadow: | |
| 0 2px 6px rgba(0,0,0,0.5), | |
| inset 0 1px rgba(255,255,255,0.3), | |
| inset 4px 4px 8px rgba(255,255,255,0.5), | |
| inset 10px 10px 5px rgba(255,255,255,0.2), | |
| inset 10px 10px 20px rgba(255,255,255,0.2), | |
| inset -10px -10px 20px rgba(0,0,0,0.3), | |
| inset -4px -4px 8px rgba(0,0,0,0.3); | |
| } | |
| div#id08 { | |
| background: rgba(125,0,0,1); | |
| background-image: radial-gradient(ellipse farthest-corner at 180% 100%, | |
| rgba(255,255,255,0.1) 0%, | |
| rgba(255,255,255,0.1) 64%, | |
| rgba(255,255,255,0) 64%); | |
| box-shadow: | |
| 0 2px 6px rgba(0,0,0,0.5), | |
| inset 0 1px rgba(255,255,255,0.3), | |
| inset 4px 4px 8px rgba(255,255,255,0.5), | |
| inset 10px 10px 5px rgba(255,255,255,0.2), | |
| inset 10px 10px 20px rgba(255,255,255,0.2), | |
| inset -10px -10px 20px rgba(0,0,0,0.3), | |
| inset -4px -4px 8px rgba(0,0,0,0.3); | |
| } | 
  
    
      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 id="id01"></div> | |
| <div id="id02"></div> | |
| <div id="id03"></div> | |
| <div id="id04"></div> | |
| <div id="id05"></div> | |
| <div id="id06"></div> | |
| <div id="id07"></div> | |
| <div id="id08"></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
    
  
  
    
  | // alert('Hello world!'); | 
  
    
      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","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment