Created
July 28, 2017 17:07
-
-
Save kauffmanes/c9bb60af4f8f576a9c709b7b57e35948 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/nuwokib
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| <style id="jsbin-css"> | |
| .glint { | |
| background: radial-gradient( | |
| transparent 40%, | |
| rgba(255, 255, 255, .1) 90%); | |
| pointer-events: none; | |
| z-index: 1; | |
| position: absolute; | |
| top: -700px; | |
| left: 200px; | |
| width: 1300px; | |
| height: 1060px; | |
| border-radius: 100%; | |
| } | |
| .banner-image { | |
| overflow: hidden; | |
| background: url('http://i.imgur.com/OFFk8obg.png') no-repeat; | |
| background-size: cover; | |
| width: 700px; | |
| height: 361px; | |
| position: relative; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="banner-image"> | |
| <div class="glint"></div> | |
| </div> | |
| <script id="jsbin-source-css" type="text/css">.glint { | |
| background: radial-gradient( | |
| transparent 40%, | |
| rgba(255, 255, 255, .1) 90%); | |
| pointer-events: none; | |
| z-index: 1; | |
| position: absolute; | |
| top: -700px; | |
| left: 200px; | |
| width: 1300px; | |
| height: 1060px; | |
| border-radius: 100%; | |
| } | |
| .banner-image { | |
| overflow: hidden; | |
| background: url('http://i.imgur.com/OFFk8obg.png') no-repeat; | |
| background-size: cover; | |
| width: 700px; | |
| height: 361px; | |
| position: relative; | |
| }</script> | |
| </body> | |
| </html> |
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
| .glint { | |
| background: radial-gradient( | |
| transparent 40%, | |
| rgba(255, 255, 255, .1) 90%); | |
| pointer-events: none; | |
| z-index: 1; | |
| position: absolute; | |
| top: -700px; | |
| left: 200px; | |
| width: 1300px; | |
| height: 1060px; | |
| border-radius: 100%; | |
| } | |
| .banner-image { | |
| overflow: hidden; | |
| background: url('http://i.imgur.com/OFFk8obg.png') no-repeat; | |
| background-size: cover; | |
| width: 700px; | |
| height: 361px; | |
| position: relative; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment