├── css └── styles.css ├── images ├── img-1.png ├── img-2.png ├── img-3.png ├── img-4.png ├── img-5.png ├── img-6.png ├── img-7.png └── img-8.png └── index.html /css/styles.css: -------------------------------------------------------------------------------- 1 | * { 2 | margin: 0; 3 | padding: 0; 4 | box-sizing: border-box; 5 | } 6 | 7 | html, 8 | body { 9 | width: 100%; 10 | height: 100vh; 11 | } 12 | 13 | h1 { 14 | position: absolute; 15 | top: 50%; 16 | left: 50%; 17 | transform: translate(-50%, -50%); 18 | font-size: 12vw; 19 | font-family: "Reval"; 20 | } 21 | 22 | .header .letter { 23 | display: inline-block; 24 | line-height: 1em; 25 | } 26 | 27 | .overlay { 28 | position: fixed; 29 | width: 100%; 30 | height: 100vh; 31 | background-color: #0f0f0f; 32 | } 33 | 34 | .images { 35 | position: absolute; 36 | top: 50%; 37 | left: 50%; 38 | transform: translate(-50%, -50%); 39 | display: flex; 40 | } 41 | 42 | .img { 43 | width: 140px; 44 | height: 180px; 45 | background: darkblue; 46 | filter: grayscale(1); 47 | opacity: 0.6; 48 | } 49 | 50 | .img-1 { 51 | transform: scale(1); 52 | background: url(/images/img-1.png) 50% 50% no-repeat; 53 | background-size: cover; 54 | } 55 | 56 | .img-2 { 57 | transform: scale(1.4); 58 | background: url(/images/img-2.png) 50% 50% no-repeat; 59 | background-size: cover; 60 | } 61 | 62 | .img-3 { 63 | transform: scale(1.2); 64 | background: url(/images/img-3.png) 50% 50% no-repeat; 65 | background-size: cover; 66 | } 67 | 68 | .img-4 { 69 | transform: scale(0.9); 70 | background: url(/images/img-4.png) 50% 50% no-repeat; 71 | background-size: cover; 72 | } 73 | 74 | .img-5 { 75 | transform: scale(1.2); 76 | background: url(/images/img-5.png) 50% 50% no-repeat; 77 | background-size: cover; 78 | } 79 | 80 | .img-6 { 81 | transform: scale(1); 82 | background: url(/images/img-6.png) 50% 50% no-repeat; 83 | background-size: cover; 84 | } 85 | 86 | .img-7 { 87 | transform: scale(1.1); 88 | background: url(/images/img-7.png) 50% 50% no-repeat; 89 | background-size: cover; 90 | } 91 | 92 | .img-8 { 93 | transform: scale(0.9); 94 | background: url(/images/img-8.png) 50% 50% no-repeat; 95 | background-size: cover; 96 | } 97 | 98 | .navbar { 99 | position: absolute; 100 | bottom: 40px; 101 | width: 100%; 102 | margin: 20px auto; 103 | display: flex; 104 | justify-content: space-around; 105 | color: #fff; 106 | font-family: "Neue Montreal", Arial, Helvetica, sans-serif; 107 | text-transform: uppercase; 108 | } 109 | -------------------------------------------------------------------------------- /images/img-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegridweb/page-reveal-animation-using-greensock/92a770c68373de3cf5c5c0280f40026e87e17f2e/images/img-1.png -------------------------------------------------------------------------------- /images/img-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegridweb/page-reveal-animation-using-greensock/92a770c68373de3cf5c5c0280f40026e87e17f2e/images/img-2.png -------------------------------------------------------------------------------- /images/img-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegridweb/page-reveal-animation-using-greensock/92a770c68373de3cf5c5c0280f40026e87e17f2e/images/img-3.png -------------------------------------------------------------------------------- /images/img-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegridweb/page-reveal-animation-using-greensock/92a770c68373de3cf5c5c0280f40026e87e17f2e/images/img-4.png -------------------------------------------------------------------------------- /images/img-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegridweb/page-reveal-animation-using-greensock/92a770c68373de3cf5c5c0280f40026e87e17f2e/images/img-5.png -------------------------------------------------------------------------------- /images/img-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegridweb/page-reveal-animation-using-greensock/92a770c68373de3cf5c5c0280f40026e87e17f2e/images/img-6.png -------------------------------------------------------------------------------- /images/img-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegridweb/page-reveal-animation-using-greensock/92a770c68373de3cf5c5c0280f40026e87e17f2e/images/img-7.png -------------------------------------------------------------------------------- /images/img-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegridweb/page-reveal-animation-using-greensock/92a770c68373de3cf5c5c0280f40026e87e17f2e/images/img-8.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 |