A Pen by sumitridhal on CodePen.
Created
December 26, 2019 04:43
-
-
Save saravanasksk/058524df161fd991098d8c9c223ea23d to your computer and use it in GitHub Desktop.
Split Page
This file contains 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
<body class="released" style="height: 667px;"> | |
<div class="section-intro" style="height: 667px;"> | |
<div class="wrap"> | |
<svg id="wiper"> | |
<defs> | |
<linearGradient id="grad" x1="0" x2="0" y1="0" y2="100%"> | |
<stop offset="0%" stop-color="#ff5e3a" stop-opacity="1"></stop> | |
<stop offset="50%" stop-color="#ff5e3a" stop-opacity="1"></stop> | |
<stop offset="62.54%" stop-color="#ff2a68" stop-opacity="1"></stop> | |
</linearGradient> | |
</defs> | |
<g transform="scale(31.417999999999996) translate(0,0)"> | |
<path d="M 50 50 L 100.00 50.00 A 50 50 0.00 1 0 25.00 93.30 Z" fill="url(#grad)"></path> | |
</g> | |
</svg> | |
</div> | |
</div> | |
</body> |
This file contains 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
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script> |
This file contains 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
@font-face { | |
font-family: 'Proxima Nova'; | |
src: url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-light-webfont.eot); | |
src: url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-light-webfont.eot?#iefix) format('embedded-opentype'), url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-light-webfont.woff) format('woff'), url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-light-webfont.ttf) format('truetype'), url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-light-webfont.svg#proximanova_regular) format('svg'); | |
font-weight: 300; | |
font-style: normal | |
} | |
@font-face { | |
font-family: 'Proxima Nova'; | |
src: url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-regular-webfont.eot); | |
src: url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-regular-webfont.eot?#iefix) format('embedded-opentype'), url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-regular-webfont.woff) format('woff'), url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-regular-webfont.ttf) format('truetype'), url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-regular-webfont.svg#proximanova_regular) format('svg'); | |
font-weight: 400; | |
font-style: normal | |
} | |
@font-face { | |
font-family: 'Proxima Nova'; | |
src: url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-semibold-webfont.eot); | |
src: url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-semibold-webfont.eot?#iefix) format('embedded-opentype'), url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-semibold-webfont.woff) format('woff'), url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-semibold-webfont.ttf) format('truetype'), url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-semibold-webfont.svg#proximanova_regular) format('svg'); | |
font-weight: 600; | |
font-style: normal | |
} | |
@font-face { | |
font-family: 'Proxima Nova'; | |
src: url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-bold-webfont.eot); | |
src: url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-bold-webfont.eot?#iefix) format('embedded-opentype'), url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-bold-webfont.woff) format('woff'), url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-bold-webfont.ttf) format('truetype'), url(https://raw.githubusercontent.com/jsdelivr/foundationcdn/master/css/fonts/proximanova-bold-webfont.svg#proximanova_regular) format('svg'); | |
font-weight: 700; | |
font-style: normal | |
} | |
body { | |
font: 16px/1.7 "Proxima Nova", Helvetica, Arial, sans-serif; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
color: #000; | |
background: #000; | |
margin: 0; | |
display: block; | |
} | |
body.released { | |
overflow: visible; | |
} | |
.section-intro { | |
position: relative; | |
width: 100%; | |
height: 667px; | |
overflow: hidden; | |
z-index: 2; | |
top: 0; | |
left: 0; | |
background: #111; | |
color: #fff; | |
cursor: default; | |
} | |
#wiper { | |
width: 3141.8px; | |
height: 3141.8px; | |
top: -1571.9px; | |
left: -887.9px; | |
display: block; | |
opacity: .9; | |
position: fixed; | |
z-index: 2; | |
} | |
svg:not(:root) { | |
overflow: hidden; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment