Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- html {
- width: 100%;
- height: 100%;
- }
- body {
- font-family: 'Teko';
- display: flex;
- align-items: center;
- justify-content: center;
- flex-direction: column;
- height: 100%;
- padding: 0;
- margin: 0;
- box-sizing: border-box;
- background: #833ab4;
- background: -webkit-linear-gradient(to right, #fcb045, #fd1d1d, #833ab4);
- background: linear-gradient(to right, #fcb045, #fd1d1d, #833ab4);
- color: #fff;
- }
- .iso-text {
- font-size: 200px;
- font-weight: 700;
- position: relative;
- width: 100%;
- height: 100%;
- white-space: pre;
- line-height: 1;
- }
- .iso-text div {
- transform: rotateX(60deg) rotateZ(-45deg) translateX(-50%) translateY(-50%) translateZ(calc(var(--depth) * 0.4vmin));
- transform-origin: 0 0;
- position: absolute;
- top: 50%;
- left: 50%;
- z-index: var(--depth);
- text-shadow: 0 -2px 0 rgba(0, 0, 0, 0.5), 2px 0 0 rgba(0, 0, 0, 0.5), 0 2px 0 rgba(0, 0, 0, 0.3);
- }
- .iso-text div:first-child {
- text-shadow: 0 -2px 0 rgba(0, 0, 0, 0.5), 2px 0 0 rgba(0, 0, 0, 0.5);
- }
- .iso-text div:nth-child(2) {
- color: black;
- }
- .iso-text div:last-child {
- color: rgba(0, 0, 0, 0.5);
- text-shadow: 0 2px 0 rgba(0, 0, 0, 0.5), 0 -2px 0 rgba(0, 0, 0, 0.5), 2px 0 0 rgba(0, 0, 0, 0.5), -2px 0 0 rgba(0, 0, 0, 0.5), -10px 10px 5px rgba(0, 0, 0, 0.2), -10px 10px 55px rgba(0, 0, 0, 0.3);
- }
- .clouds{
- background: #5d3355;
- display: flex;
- width: 100px;
- height: 30px;
- opacity: .8;
- position: absolute;
- top: 60%;
- left: 120%;
- }
- .clouds .cloud{
- position: relative;
- width: auto;
- }
- .clouds .cloud:before{
- content: "";
- background: #5d3355;
- width: 30px;
- height: 30px;
- border-radius: 30px;
- display: block;
- position: absolute;
- bottom: 0;
- left: -12px;
- }
- .clouds .c2:before{
- height: 40px;
- width: 40px;
- border-radius: 40px;
- bottom: 5px;
- left: 2px;
- }
- .clouds .c3:before{
- height: 40px;
- width: 40px;
- border-radius: 40px;
- bottom: 17px;
- left: 18px;
- }
- .clouds .c4:before{
- height: 60px;
- width: 60px;
- border-radius: 60px;
- bottom: 12px;
- left: 42px;
- }
- .clouds .c5:before{
- height: 50px;
- width: 50px;
- border-radius: 50px;
- bottom: 0px;
- left: 75px;
- }
- .clouds.bigger{
- -webkit-animation: float 12s 0s infinite alternate linear;
- animation: float 12s 0s infinite alternate linear;
- }
- .clouds.medium{
- top: 42%;
- height: 24px;
- width: 92px;
- -webkit-animation: float 16s 5s infinite alternate linear;
- animation: float 16s 5s infinite alternate linear;
- }
- .clouds.medium .cloud{
- position: relative;
- width: auto;
- }
- .clouds.medium .cloud:before{
- height: 24px;
- width: 24px;
- border-radius: 25px;
- bottom: 0;
- left: -12px;
- }
- .clouds.medium .c2:before{
- height: 35px;
- width: 35px;
- border-radius: 35px;
- bottom: 5px;
- left: 2px;
- }
- .clouds.medium .c3:before{
- height: 50px;
- width: 50px;
- border-radius: 50px;
- bottom: 4px;
- left: 18px;
- }
- .clouds.medium .c4:before{
- height: 25px;
- width: 25px;
- border-radius: 25px;
- bottom: 22px;
- left: 58px;
- }
- .clouds.medium .c5:before{
- height: 25px;
- width: 25px;
- border-radius: 25px;
- bottom: 12px;
- left: 73px;
- }
- .clouds.medium .c6:before{
- height: 25px;
- width: 25px;
- border-radius: 25px;
- bottom: 0px;
- left: 82px;
- }
- .clouds.smaller{
- top: 26%;
- height: 18px;
- width: 61px;
- -webkit-animation: float 16s 4s infinite alternate linear;
- animation: float 16s 4s infinite alternate linear;
- }
- .clouds.smaller .cloud{
- position: relative;
- width: auto;
- }
- .clouds.smaller .cloud:before{
- height: 18px;
- width: 18px;
- border-radius: 18px;
- bottom: 0;
- left: -10px;
- }
- .clouds.smaller .c2:before{
- height: 20px;
- width: 20px;
- border-radius: 20px;
- bottom: 11px;
- left: 2px;
- }
- .clouds.smaller .c3:before{
- height: 35px;
- width: 35px;
- border-radius: 35px;
- bottom: 8px;
- left: 13px;
- }
- .clouds.smaller .c4:before{
- height: 25px;
- width: 25px;
- border-radius: 25px;
- bottom: 10px;
- left: 35px;
- }
- .clouds.smaller .c5:before{
- height: 25px;
- width: 25px;
- border-radius: 25px;
- bottom: 0px;
- left: 45px;
- }
- @-webkit-keyframes float {
- 0% {
- -webkit-transform: translateX(0px);
- transform: translateX(0px);
- }
- 100% {
- -webkit-transform: translateX(-640px);
- transform: translateX(-640px);
- }
- }
- @keyframes float {
- 0% {
- -webkit-transform: translateX(0px);
- transform: translateX(0px);
- }
- 100% {
- -webkit-transform: translateX(-1000px);
- transform: translateX(-1000px);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment