├── .gitignore ├── LICENSE ├── README.md ├── design ├── active-states.jpg ├── desktop-design.jpg ├── desktop-preview.jpg └── mobile-design.jpg ├── images ├── bg-hero-desktop.svg ├── bg-hero-mobile.svg ├── favicon-32x32.png ├── icon-email.svg ├── icon-location.svg ├── icon-phone.svg ├── illustration-flowing-conversation.svg ├── illustration-grow-together.svg ├── illustration-mockups.svg ├── illustration-your-users.svg └── logo.svg ├── index.html ├── style-guide.md └── style.css /.gitignore: -------------------------------------------------------------------------------- 1 | # Avoid accidental Sketch file upload 2 | ############################################### 3 | ## Please do not remove line 5 - thanks! 🙂 ## 4 | ############################################### 5 | *.sketch 6 | 7 | # Avoid accidental XD or Figma upload if you convert the design file 8 | ####################################################### 9 | ## Please do not remove lines 11 and 12 - thanks! 🙂 ## 10 | ####################################################### 11 | *.xd 12 | *.fig 13 | 14 | # Avoid your project being littered with annoying .DS_Store files! 15 | .DS_Store 16 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2024 Sarthak Sachdev 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Huddle Landing Page 2 | 3 | ## Welcome! 👋 4 | 5 | ## Table of contents 6 | 7 | - [Overview](#overview) 8 | - [The challenge](#the-challenge) 9 | - [How to setup the project](#how-to-setup-the-project) 10 | - [Screenshot](#screenshot) 11 | - [Links](#links) 12 | - [My process](#my-process) 13 | - [Built with](#built-with) 14 | - [What I learned](#what-i-learned) 15 | - [Continued development](#continued-development) 16 | - [Useful resources](#useful-resources) 17 | - [Author](#author) 18 | - [Acknowledgments](#acknowledgments) 19 | 20 | ## Overview 21 | 22 | ### The challenge 23 | 24 | The challenge is to create the Huddle Landing Page, a modern and responsive landing page for the Huddle website. 25 | 26 | Users should be able to- 27 | - View the optimal layout for the site depending on their device's screen size. 28 | - See the hover states for all interactive elements on the page. 29 | 30 | ### How to setup the project 31 | 32 | To set up the project locally, follow these steps: 33 | 34 | 1. Clone the repository using GitHub Desktop or Git Bash: 35 | ```bash 36 | git clone https://github.com/SartHak-0-Sach/Huddle-landing-page_frontend_project.git 37 | ``` 38 | 2. Open the project folder in your code editor. 39 | 3. Run the project using a live server extension or deploy it using Netlify, Vercel, or another web hosting and deployment service. 40 | 41 | ### Screenshot 42 | 43 | ![Design Preview](./design/active-states.jpg) 44 | 45 | ### Links 46 | 47 | - Solution URL: [GitHub Repository](https://github.com/SartHak-0-Sach/Huddle-landing-page_frontend_project) 48 | - Live Site URL: [Live Site](https://huddle-landing-page-frontend-app.netlify.app/) 49 | 50 | ## My process 51 | 52 | ### Built with 53 | 54 | - HTML5 55 | - CSS3 56 | 57 | You will find all the required assets in the `/images` folder. The assets are already optimized. 58 | 59 | There is also a `style-guide.md` file containing the information you'll need, such as color palette and fonts. 60 | 61 | ### What I learned 62 | 63 | This project is a simple straightforward project which tests how strong your fundamentals are in HTML and CSS to design various components of a web-page like hero section, header and most importantly the nav-bar with all its headings as shown- 64 | 65 | ```css 66 | nav { 67 | padding: 70px; 68 | display: flex; 69 | justify-content: space-between; 70 | } 71 | 72 | .btn-nav { 73 | cursor: pointer; 74 | font-weight: 600; 75 | border: none; 76 | outline: none; 77 | background-color: #ffffff; 78 | color: #000000; 79 | border-radius: 25px; 80 | box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); 81 | padding: 12px 50px 12px 50px; 82 | transition: all 0.3s ease 0s; 83 | } 84 | 85 | .btn-nav:hover { 86 | 87 | box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.02), 88 | 0 6.7px 5.3px rgba(0, 0, 0, 0.028), 0 12.5px 10px rgba(0, 0, 0, 0.035), 89 | 0 22.3px 17.9px rgba(0, 0, 0, 0.042), 90 | 0 41.8px 33.4px rgba(0, 0, 0, 0.05), 0 100px 80px rgba(0, 0, 0, 0.07); 91 | } 92 | ``` 93 | 94 | ### Continued development 95 | 96 | The continuously learning journey of a programmer never ends. This project made me realize that there are many concepts that I need to work upon including fundamentals like flex-box and its properties, to more complex concepts like working with fetch and async await in javascript. These areas are some that I think I need to work more upon in the upcoming future as they highlight some of the most significant regions of web development that are important for every developer to know of. 97 | 98 | These key points mentioned here will help me grow accountable and consistent towards improving at writing good quality code and be a successful full stack developer one day. 99 | 100 | ### Useful resources 101 | 102 | - [Harkirat Singh course notes](https://github.com/SartHak-0-Sach/harkirat-singh-course_code_and_notes) - I have added notes of all lectures along with code and lecture insights of all weeks along with bonus lectures to help you all as much as I can. 103 | - [My development code and notes](https://github.com/SartHak-0-Sach/cwh-web-dev-playlist_code_and_notes) - These are my notes that I made while working on my development skills in initial days and did these courses. Make sure to star the repository if you like it.✨💫 104 | - [mdn documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function) - This is an amazing article which helped me finally understand promises, async and await syntax. I'd recommend it to anyone still learning this concept. 105 | 106 | ## Author 107 | 108 | Sarthak Sachdev 109 | - Website - [Sarthak Sachdev](https://itsmesarthak.netlify.app/) 110 | - LeetCode - [@sarthak_sachdev](https://leetcode.com/u/sarthak_sachdev/) 111 | - Twitter - [@sarthak_sach69](https://www.twitter.com/sarthak_sach69) 112 | 113 | ## Acknowledgments 114 | 115 | I feel like the solutions provided on the website and the continuous doubt solving by industry experts on discord for free is something that is unmatched by anyone else and need to be acknowledged for their efforts in improving me as a developer by suggesting the best practices in your respective tech stack. 116 | 117 | ## Got feedback for me? 118 | 119 | I love receiving feedback! I am always looking to improve my code and take up new innovative ideas to work upon. So if you have anything you'd like to mention, please email 'hi' at saarsaach30[at]gmail[dot]com. 120 | 121 | If you found this project helpful, consider sharing it with others to spread the knowledge! 122 | 123 | **Happy exploring Huddle!** 🚀🌟 -------------------------------------------------------------------------------- /design/active-states.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-my-frontend-mini-projects/Huddle-landing-page_frontend_project/7513fb5c5e0827d9dfece28b9d0f50ea7f56003c/design/active-states.jpg -------------------------------------------------------------------------------- /design/desktop-design.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-my-frontend-mini-projects/Huddle-landing-page_frontend_project/7513fb5c5e0827d9dfece28b9d0f50ea7f56003c/design/desktop-design.jpg -------------------------------------------------------------------------------- /design/desktop-preview.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-my-frontend-mini-projects/Huddle-landing-page_frontend_project/7513fb5c5e0827d9dfece28b9d0f50ea7f56003c/design/desktop-preview.jpg -------------------------------------------------------------------------------- /design/mobile-design.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-my-frontend-mini-projects/Huddle-landing-page_frontend_project/7513fb5c5e0827d9dfece28b9d0f50ea7f56003c/design/mobile-design.jpg -------------------------------------------------------------------------------- /images/bg-hero-desktop.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/bg-hero-mobile.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/all-my-frontend-mini-projects/Huddle-landing-page_frontend_project/7513fb5c5e0827d9dfece28b9d0f50ea7f56003c/images/favicon-32x32.png -------------------------------------------------------------------------------- /images/icon-email.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/icon-location.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/icon-phone.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/illustration-flowing-conversation.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/illustration-grow-together.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/illustration-mockups.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/illustration-your-users.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /images/logo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 13 | 14 | 15 | 16 | 20 | 21 | 25 | 26 | 30 | 31 | 32 | Frontend Mentor | Huddle landing page with alternating feature blocks 33 | 34 | 35 | 36 | 37 |
38 | 42 | 43 |
44 |
45 |

Build The Community Your Fans Will Love

46 | 47 |

48 | Huddle re-imagines the way we build communities. You have a voice, 49 | but so does your audience. Create connections with your users as you 50 | engage in genuine discussion. 51 |

52 | 53 | 54 |
55 | 56 |
57 |
58 | 59 |
60 |
61 |
62 |

Grow Together

63 |

64 | Generate meaningful discussions with your audience and build a 65 | strong, loyal community. Think of the insightful conversations you 66 | miss out on with a feedback form. 67 |

68 |
69 | 74 |
75 |
76 |
77 |

Flowing Conversations

78 |

79 | You wouldn't paginate a conversation in real life, so why do it 80 | online? Our threads have just-in-time loading for a more natural 81 | flow. 82 |

83 |
84 | 85 | 90 |
91 | 92 |
93 |
94 |

Your Users

95 |

96 | It takes no time at all to integrate Huddle with your app's 97 | authentication solution. This means, once signed in to your app, 98 | your users can start chatting immediately. 99 |

100 |
101 | 102 |
103 |
104 | 105 | 177 |
178 | Coded by Sarthak Sachdev. 179 |
180 | 181 | 182 | 183 | -------------------------------------------------------------------------------- /style-guide.md: -------------------------------------------------------------------------------- 1 | # Front-end Style Guide 2 | 3 | ## Layout 4 | 5 | The designs were created to the following widths: 6 | 7 | - Mobile: 375px 8 | - Desktop: 1440px 9 | 10 | ## Colors 11 | 12 | ### Primary 13 | 14 | - Pink: hsl(322, 100%, 66%) 15 | 16 | ### Neutral 17 | 18 | - Very Pale Cyan: hsl(193, 100%, 96%) 19 | - Very Dark Cyan: hsl(192, 100%, 9%) 20 | - Grayish Blue: hsl(208, 11%, 55%) 21 | 22 | ## Typography 23 | 24 | ### Body Copy 25 | 26 | - Font size: 18px 27 | 28 | ### Headings 29 | 30 | - Family: [Poppins](https://fonts.google.com/specimen/Poppins) 31 | - Weights: 600 32 | 33 | ### Body, Call-to-actions 34 | 35 | - Family: [Open Sans](https://fonts.google.com/specimen/Open+Sans) 36 | - Weights: 400, 700 37 | 38 | ## Icons 39 | 40 | For the social icons, you can use a font icon library. Some suggestions can be found below: 41 | 42 | - [Font Awesome](https://fontawesome.com/) 43 | - [IcoMoon](https://icomoon.io/) 44 | - [Ionicons](https://ionicons.com/) -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | * { 2 | box-sizing: border-box; 3 | padding: 0; 4 | margin: 0; 5 | } 6 | 7 | body { 8 | font-family: "Open Sans", sans-serif; 9 | font-size: 18px; 10 | line-height: 1.6; 11 | } 12 | 13 | /* Header Section */ 14 | 15 | header { 16 | font-family: "Poppins", sans-serif; 17 | 18 | background-image: url(images/bg-hero-desktop.svg); 19 | background-repeat: no-repeat; 20 | background-color: hsl(193, 100%, 96%); 21 | } 22 | 23 | /* Nav Section */ 24 | 25 | nav { 26 | padding: 70px; 27 | display: flex; 28 | justify-content: space-between; 29 | } 30 | 31 | .btn-nav { 32 | cursor: pointer; 33 | font-weight: 600; 34 | border: none; 35 | outline: none; 36 | background-color: #ffffff; 37 | color: #000000; 38 | border-radius: 25px; 39 | box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); 40 | padding: 12px 50px 12px 50px; 41 | transition: all 0.3s ease 0s; 42 | } 43 | 44 | .btn-nav:hover { 45 | 46 | box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.02), 47 | 0 6.7px 5.3px rgba(0, 0, 0, 0.028), 0 12.5px 10px rgba(0, 0, 0, 0.035), 48 | 0 22.3px 17.9px rgba(0, 0, 0, 0.042), 49 | 0 41.8px 33.4px rgba(0, 0, 0, 0.05), 0 100px 80px rgba(0, 0, 0, 0.07); 50 | } 51 | 52 | /* Hero Section */ 53 | 54 | .btn-hero { 55 | font-weight: 600; 56 | border: none; 57 | outline: none; 58 | background-color: hsl(322, 100%, 66%); 59 | color: #ffffff; 60 | border-radius: 25px; 61 | cursor: pointer; 62 | padding: 18px 60px 18px 60px; 63 | transition: all 0.3s ease 0s; 64 | } 65 | 66 | .btn-hero:hover { 67 | box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 68 | 0 4px 6px -2px rgba(0, 0, 0, 0.05); 69 | } 70 | 71 | .container { 72 | padding: 0px 70px 70px 70px; 73 | display: flex; 74 | justify-content: center; 75 | align-items: center; 76 | } 77 | 78 | .img-hero { 79 | width: 50%; 80 | height: auto; 81 | } 82 | 83 | .title-hero { 84 | width: 60%; 85 | font-weight: 700; 86 | margin-bottom: 25px; 87 | } 88 | 89 | .sub-hero { 90 | width: 75%; 91 | margin-bottom: 25px; 92 | color: #808080; 93 | } 94 | 95 | /* Main Section */ 96 | 97 | .container-card1 { 98 | display: flex; 99 | justify-content: center; 100 | align-items: center; 101 | padding: 80px; 102 | margin: 30px 150px 30px 150px; 103 | color: #000000; 104 | border-radius: 5px; 105 | box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 106 | 0 2px 4px -1px rgba(0, 0, 0, 0.06); 107 | } 108 | 109 | .container-card2 { 110 | display: flex; 111 | justify-content: center; 112 | align-items: center; 113 | padding: 80px; 114 | margin: 30px 150px 30px 150px; 115 | color: #000000; 116 | border-radius: 5px; 117 | box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 118 | 0 2px 4px -1px rgba(0, 0, 0, 0.06); 119 | 120 | flex-direction: row-reverse; 121 | } 122 | 123 | .container-card3 { 124 | display: flex; 125 | justify-content: center; 126 | align-items: center; 127 | padding: 80px; 128 | margin: 30px 150px 30px 150px; 129 | color: #000000; 130 | border-radius: 5px; 131 | box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 132 | 0 2px 4px -1px rgba(0, 0, 0, 0.06); 133 | } 134 | 135 | .img-card { 136 | width: 40%; 137 | height: auto; 138 | } 139 | 140 | .title-card { 141 | margin-bottom: 25px; 142 | } 143 | 144 | .sub-card { 145 | color: #808080; 146 | } 147 | 148 | /* Footer Section */ 149 | 150 | .container-ready { 151 | text-align: center; 152 | border-radius: 15px; 153 | box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 154 | 0 2px 4px -1px rgba(0, 0, 0, 0.06); 155 | padding: 100px; 156 | width: 60%; 157 | margin: auto; 158 | position: relative; 159 | top: 150px; 160 | background-color: #ffffff; 161 | } 162 | 163 | .btn-foot { 164 | cursor: pointer; 165 | font-weight: 600; 166 | border: none; 167 | outline: none; 168 | font-size: 20px; 169 | background-color: hsl(322, 100%, 66%); 170 | color: #ffffff; 171 | border-radius: 50px; 172 | 173 | padding: 28px 100px 28px 100px; 174 | transition: all 0.3s ease 0s; 175 | } 176 | 177 | .btn-foot:hover { 178 | box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 179 | 0 4px 6px -2px rgba(0, 0, 0, 0.05); 180 | } 181 | 182 | .title-foot { 183 | margin-bottom: 50px; 184 | } 185 | 186 | /* Foot Section */ 187 | 188 | .foot { 189 | color: #fff; 190 | background-color: hsl(192, 100%, 9%); 191 | display: flex; 192 | justify-content: space-between; 193 | gap: 100px; 194 | padding: 70px 0px 70px 20px; 195 | padding-top: 250px; 196 | } 197 | 198 | .text-foot1 { 199 | padding-top: 25px; 200 | } 201 | 202 | .text-foot2 { 203 | padding-top: 25px; 204 | 205 | padding-bottom: 25px; 206 | } 207 | 208 | p { 209 | display: inline-block; 210 | /* margin: 10px; */ 211 | width: 80%; 212 | } 213 | 214 | .copyr { 215 | margin-top: 80px; 216 | } 217 | 218 | a { 219 | color: #fff; 220 | text-decoration: none; 221 | transition: all 0.3s ease 0s; 222 | } 223 | 224 | a:hover { 225 | color: hsl(322, 100%, 66%); 226 | } 227 | 228 | /* Social Icons */ 229 | .custom-icon { 230 | font-size: 20px; 231 | /* background: #fff; */ 232 | color: #ffffff; 233 | 234 | padding: 8px; 235 | -webkit-border-radius: 1100%; 236 | -moz-border-radius: 100%; 237 | -o-border-radius: 100%; 238 | border-radius: 100%; 239 | border: 2px solid #ffffff; 240 | columns: #000000; 241 | text-align: center; 242 | display: table-cell; 243 | vertical-align: middle; 244 | width: 40px; 245 | height: 40px; 246 | -moz-transition: 0.5s; 247 | -webkit-transition: 0.5s; 248 | -o-transition: 0.5s; 249 | transition: 0.5s; 250 | 251 | } 252 | 253 | .custom-icon:hover { 254 | color: #ffffff; 255 | background: hsl(322, 100%, 66%); 256 | border: 2px solid hsl(322, 100%, 66%); 257 | } 258 | 259 | .fix-editor { 260 | display: none; 261 | } 262 | 263 | .icon-wrapper { 264 | display: inline-block; 265 | } 266 | 267 | /* Media Mobile */ 268 | 269 | @media (max-width: 786px) { 270 | nav { 271 | padding: 25px; 272 | } 273 | 274 | .logo { 275 | width: 40%; 276 | } 277 | 278 | .btn-nav { 279 | padding: 8px 25px 8px 25px; 280 | } 281 | 282 | .container { 283 | display: flex; 284 | flex-direction: column; 285 | margin: auto; 286 | text-align: center; 287 | } 288 | 289 | .title-hero { 290 | text-align: center; 291 | width: 100%; 292 | font-size: 30px; 293 | } 294 | 295 | .sub-hero { 296 | text-align: center; 297 | width: 100%; 298 | font-size: 17px; 299 | } 300 | 301 | .btn-hero { 302 | padding: 10px 60px 10px 60px; 303 | } 304 | 305 | .img-hero { 306 | width: 100%; 307 | height: auto; 308 | padding-top: 50px; 309 | padding-bottom: 50px; 310 | } 311 | 312 | .container-card1 { 313 | text-align: center; 314 | flex-direction: column-reverse; 315 | margin: 30px 8px 30px 8px; 316 | } 317 | 318 | .container-card2 { 319 | text-align: center; 320 | 321 | flex-direction: column-reverse; 322 | margin: 30px 8px 30px 8px; 323 | } 324 | 325 | .container-card3 { 326 | text-align: center; 327 | 328 | flex-direction: column-reverse; 329 | margin: 30px 8px 30px 8px; 330 | } 331 | 332 | .img-card { 333 | width: 100%; 334 | height: auto; 335 | } 336 | 337 | .title-card { 338 | margin-bottom: 25px; 339 | } 340 | 341 | .sub-card { 342 | color: #808080; 343 | } 344 | 345 | .container-ready { 346 | text-align: center; 347 | top: 80px; 348 | padding: 20px; 349 | width: 90%; 350 | } 351 | 352 | .btn-foot { 353 | font-size: 15px; 354 | 355 | padding: 18px 30px 18px 30px; 356 | } 357 | 358 | .title-foot { 359 | font-size: 18px; 360 | margin-bottom: 40px; 361 | } 362 | 363 | .foot { 364 | /* gap: 100px; */ 365 | /* padding: 70px; */ 366 | padding-left: 25px; 367 | gap: 40px; 368 | padding-top: 150px; 369 | flex-direction: column; 370 | } 371 | 372 | .text-foot1 { 373 | padding-top: 25px; 374 | } 375 | 376 | .text-foot2 { 377 | padding-top: 25px; 378 | 379 | padding-bottom: 25px; 380 | } 381 | 382 | .copyr { 383 | padding-bottom: 25px; 384 | padding-top: 50px; 385 | margin-top: 0px; 386 | } 387 | 388 | p { 389 | /* margin: 10px; */ 390 | width: 80%; 391 | } 392 | 393 | .copyr { 394 | margin-top: 0px; 395 | } 396 | } 397 | 398 | /* Footer */ 399 | .attribution { 400 | position: absolute; 401 | bottom: .8rem; 402 | left: 50%; 403 | transform: translateX(-50%); 404 | font-size: 11px; 405 | text-align: center; 406 | color: blue; 407 | } 408 | 409 | .attribution a { 410 | color: hsl(228, 45%, 44%); 411 | } 412 | --------------------------------------------------------------------------------