Created
October 24, 2016 15:40
-
-
Save finagin/d7c9b09fe644e2a799aa432c78c367a6 to your computer and use it in GitHub Desktop.
bwzyRQ
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
<div class="drop-table"> | |
<div class="container"> | |
<div class="content"> | |
<div class="rtl"> | |
<div class="title"> | |
Люблю тебя, | |
</div> | |
</div> | |
<div class="ltr"> | |
<div class="text"> | |
лапочка моя, | |
</div> | |
<div class="mail"> | |
сильно-сильно | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> |
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
jQuery(function () { | |
jQuery('body') | |
.delay(1e3) | |
.queue(function (next) { | |
$(this).addClass('ready'); | |
next(); | |
}); | |
}); | |
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.0/jquery.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
/* latin-ext */ | |
@font-face { | |
font-family: 'Lato'; | |
font-style: normal; | |
font-weight: 100; | |
src: local('Lato Hairline'), local('Lato-Hairline'), url(https://fonts.gstatic.com/s/lato/v11/h3_FseZLI76g1To6meQ4zX-_kf6ByYO6CLYdB4HQE-Y.woff2) format('woff2'); | |
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; | |
} | |
/* latin */ | |
@font-face { | |
font-family: 'Lato'; | |
font-style: normal; | |
font-weight: 100; | |
src: local('Lato Hairline'), local('Lato-Hairline'), url(https://fonts.gstatic.com/s/lato/v11/ifRS04pY1nJBsu8-cUFUS-vvDin1pK8aKteLpeZ5c0A.woff2) format('woff2'); | |
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000; | |
} | |
html, body { | |
height: 100%; | |
background-color: #EDEDF0; | |
} | |
body { | |
margin: 0; | |
padding: 0; | |
width: 100%; | |
display: table; | |
font-weight: 100; | |
font-family: 'Comfortaa', cursive; | |
} | |
.container { | |
text-align: center; | |
display: table-cell; | |
vertical-align: middle; | |
} | |
.content { | |
text-align: center; | |
display: inline-block; | |
} | |
.title { | |
font-size: 96px; | |
} | |
.text { | |
font-size: 32px; | |
} | |
.mail { | |
font-size: 24px; | |
color: #939699; | |
} | |
.mail a, | |
.mail a:hover, | |
.mail a:focus, | |
.mail a:visited { | |
color: #285473; | |
cursor: pointer; | |
text-decoration: none; | |
border-bottom: 1px dotted #285473; | |
} | |
body .rtl, body .ltr { | |
position: relative; | |
-webkit-transition-timing-function: ease-out; | |
-moz-transition-timing-function: ease-out; | |
-ms-transition-timing-function: ease-out; | |
-o-transition-timing-function: ease-out; | |
transition-timing-function: ease-out; | |
opacity: .005; | |
-webkit-transition-duration: .5s; /* Safari */ | |
transition-duration: .5s; | |
} | |
body .rtl { | |
-webkit-transform: translateY(-140%); | |
-moz-transform: translateY(-140%); | |
-ms-transform: translateY(-140%); | |
-o-transform: translateY(-140%); | |
transform: translateY(-140%); | |
} | |
body .ltr { | |
-webkit-transform: translateY(140%); | |
-moz-transform: translateY(140%); | |
-ms-transform: translateY(140%); | |
-o-transform: translateY(140%); | |
transform: translateY(140%); | |
} | |
body.ready .rtl, body.ready .ltr { | |
opacity: 1; | |
-webkit-transform: translateY(00px); | |
-moz-transform: translateY(00px); | |
-ms-transform: translateY(00px); | |
-o-transform: translateY(00px); | |
transform: translateY(00px); | |
} | |
body.ready .logo { | |
opacity: 0; | |
-webkit-transition-duration: .5s; /* Safari */ | |
transition-duration: .5s; | |
} | |
.drop-table { | |
display: table; | |
position: absolute; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
} |
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
<link href="https://fonts.googleapis.com/css?family=Comfortaa" rel="stylesheet" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment