├── .vscode └── settings.json ├── img ├── bird1.png ├── bird2.png ├── birds.jpg ├── rock.jpg ├── water.jpg ├── forest.jpg ├── forest1.png ├── rocks1.png ├── water1.png ├── forest (1).png ├── elephant-flip.png ├── animal-removebg-preview.png ├── birds-removebg-preview.png ├── forest-removebg-preview.png ├── rock-removebg-preview.png ├── elephant-removebg-preview.png ├── elephant-removebg-preview (1).png ├── photographer-removebg-preview.png └── photographer2-removebg-preview.png ├── .gitattributes ├── README.md ├── style.css └── index.html /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "liveServer.settings.port": 5502 3 | } 4 | -------------------------------------------------------------------------------- /img/bird1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/bird1.png -------------------------------------------------------------------------------- /img/bird2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/bird2.png -------------------------------------------------------------------------------- /img/birds.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/birds.jpg -------------------------------------------------------------------------------- /img/rock.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/rock.jpg -------------------------------------------------------------------------------- /img/water.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/water.jpg -------------------------------------------------------------------------------- /img/forest.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/forest.jpg -------------------------------------------------------------------------------- /img/forest1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/forest1.png -------------------------------------------------------------------------------- /img/rocks1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/rocks1.png -------------------------------------------------------------------------------- /img/water1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/water1.png -------------------------------------------------------------------------------- /img/forest (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/forest (1).png -------------------------------------------------------------------------------- /img/elephant-flip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/elephant-flip.png -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.html linguist-detectable=false 2 | *.js linguist-detectable=false 3 | *.css linguist-detectable=true 4 | -------------------------------------------------------------------------------- /img/animal-removebg-preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/animal-removebg-preview.png -------------------------------------------------------------------------------- /img/birds-removebg-preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/birds-removebg-preview.png -------------------------------------------------------------------------------- /img/forest-removebg-preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/forest-removebg-preview.png -------------------------------------------------------------------------------- /img/rock-removebg-preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/rock-removebg-preview.png -------------------------------------------------------------------------------- /img/elephant-removebg-preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/elephant-removebg-preview.png -------------------------------------------------------------------------------- /img/elephant-removebg-preview (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/elephant-removebg-preview (1).png -------------------------------------------------------------------------------- /img/photographer-removebg-preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/photographer-removebg-preview.png -------------------------------------------------------------------------------- /img/photographer2-removebg-preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sharjeelyunus/wild-life-photography/HEAD/img/photographer2-removebg-preview.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # wild-life-photography 2 | Wild Life Photography Landing Page. When you hover the images they get bigger giving cool look. 3 | ----------------------------------------Responsive----------------------------------------------- 4 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | @import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900&display=swap'); 2 | @import url('https://fonts.googleapis.com/css2?family=Rancho&display=swap'); 3 | 4 | *{ 5 | margin: 0; 6 | padding: 0; 7 | box-sizing: border-box; 8 | font-family: 'Poppins', sans-serif; 9 | } 10 | body{ 11 | overflow-x: hidden; 12 | background: linear-gradient(rgb(163, 249, 255),rgb(243, 241, 111),rgb(243, 133, 166)); 13 | min-height: 100vh; 14 | } 15 | 16 | #header{ 17 | position: absolute; 18 | top: 0; 19 | left: 0; 20 | width: 100%; 21 | padding: 30px 100px; 22 | display: flex; 23 | justify-content: space-between; 24 | align-items: center; 25 | z-index: 10000; 26 | } 27 | #header .logo{ 28 | color: #094b65; 29 | font-weight: 700; 30 | font-size: 2em; 31 | text-decoration: none; 32 | } 33 | #header ul{ 34 | display: flex; 35 | justify-content: center; 36 | align-items: center; 37 | } 38 | #header ul li{ 39 | list-style: none; 40 | margin-left: 20px; 41 | } 42 | 43 | #header ul li a{ 44 | text-decoration: none; 45 | padding: 6px 15px; 46 | color: #094b65; 47 | border-radius: 20px; 48 | 49 | } 50 | 51 | #header ul li a:hover, 52 | #header ul li a.active 53 | { 54 | background: #094b65; 55 | color: white; 56 | 57 | } 58 | section{ 59 | position: relative; 60 | width: 100%; 61 | height: 100vh; 62 | display: flex; 63 | justify-content: center; 64 | align-items: center; 65 | } 66 | section::before{ 67 | content: ''; 68 | position: absolute; 69 | bottom: 0; 70 | left: 0; 71 | width: 100%; 72 | height: 100px; 73 | background: linear-gradient(to top, #094b65, transparent); 74 | z-index: 10; 75 | } 76 | section img{ 77 | position: absolute; 78 | top: 0; 79 | left: 0; 80 | width: 100%; 81 | height: 100%; 82 | object-fit: cover; 83 | pointer-events: none; 84 | } 85 | section #text{ 86 | position: absolute; 87 | color: #094b65; 88 | font-size: 10vw; 89 | text-align: center; 90 | line-height: 0.55em; 91 | font-family: 'Rancho', cursive; 92 | transform: translateY(-50%); 93 | } 94 | section #text span{ 95 | font-size: 0.20em; 96 | letter-spacing: 2px; 97 | font-weight: 400; 98 | font-family: 'Poppins', sans-serif; 99 | } 100 | #btn{ 101 | text-decoration: none; 102 | display: inline-block; 103 | padding: 8px 30px; 104 | background: #fff; 105 | color: #094b65; 106 | font-size: 1.2em; 107 | font-weight: 500; 108 | letter-spacing: 2px; 109 | border-radius: 40px; 110 | transform: translateY(100px); 111 | 112 | } 113 | .sec{ 114 | position: relative; 115 | padding: 100px; 116 | background: #094b65; 117 | } 118 | 119 | .sec h2{ 120 | font-size: 100px; 121 | color: azure; 122 | text-align: center; 123 | } 124 | /* body { 125 | margin: 0px; 126 | padding: 0px; 127 | box-sizing: border-box; 128 | } */ 129 | 130 | /* .container { 131 | display: flex; 132 | flex-wrap: wrap; 133 | justify-content: center; 134 | } */ 135 | 136 | .container { 137 | padding: 10px; 138 | display: grid; 139 | grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 140 | grid-gap: 20px; 141 | max-width: 1100px; 142 | grid-auto-rows: 250px; 143 | grid-auto-flow: dense; 144 | margin: 0 auto; 145 | } 146 | 147 | /*stretch vertically*/ 148 | .vertical { 149 | grid-row: span 2; 150 | } 151 | 152 | /*stretch horizontally*/ 153 | .horizontal { 154 | grid-column: span 2; 155 | } 156 | /*horizontally and vertically*/ 157 | .big { 158 | grid-column: span 2; 159 | grid-row: span 2; 160 | } 161 | 162 | h1 { 163 | font-family: fantasy; 164 | font-size: 3em; 165 | border-bottom: 2px solid pink; 166 | border-right: 2px solid pink; 167 | width: 400px; 168 | text-align: center; 169 | box-shadow: 4px 4px 5px #888888; 170 | margin-top: 10px; 171 | } 172 | 173 | /* 174 | img { 175 | width: 400px; 176 | height: 250px; 177 | margin: 10px; 178 | transition: all 0.3s; 179 | } */ 180 | 181 | .container div { 182 | overflow: hidden; 183 | } 184 | 185 | .container div img { 186 | width: 100%; 187 | height: 100%; 188 | object-fit: cover; 189 | filter: brightness(0.7); 190 | transition: all 0.3s; 191 | } 192 | 193 | .container div img:hover { 194 | filter: brightness(1); 195 | transform: scale(1.2); 196 | } 197 | 198 | /* img:hover { 199 | transform: scale(1.1); 200 | } */ 201 | 202 | @media screen and (max-width: 560px) { 203 | .vertical { 204 | grid-row: span 1; 205 | } 206 | 207 | .horizontal { 208 | grid-column: span 1; 209 | } 210 | 211 | .big { 212 | grid-column: span 1; 213 | grid-row: span 1; 214 | } 215 | } 216 | 217 | 218 | #forest{ 219 | height: 500px; 220 | width: 500px; 221 | left: 1030px; 222 | top: 100px; 223 | } 224 | #forest1{ 225 | width: 350px; 226 | height: 200px; 227 | top: 260px; 228 | left: 50px; 229 | } -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
20 |
21 |
22 |
23 |
24 |
25 | Explore
26 |
27 |
28 |
29 |
30 |
31 |
32 |
45 |
50 |
55 |
60 |
65 |
70 |
75 |
80 |
85 |
90 |
95 |
100 |