GithubHelp home page GithubHelp logo

viniciusshenri96 / clipboard-landing-page-master Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 19.77 MB

My solution to the challenge Clipboard landing page using HTML and CSS

License: MIT License

CSS 47.16% HTML 52.84%
css3 flex grid html5 junior responsive

clipboard-landing-page-master's Introduction

Clipboard landing page

ย 

๐Ÿšง Clipboard landing page ๐ŸŸข Completed ๐Ÿš€ ๐Ÿšง

ย 

Project description ๐Ÿ“š

This is a solution to the challenge Clipboard landing page.

This project is a challenge from Frontend Mentor website, where I was able to use many reusable classes and components to try to make my css cleaner, also I used html{font-size 62.5%} to calculate px for rem more easily and define the body {font-size: 1.6}, so the text on the page is not too small.

Challenge Difficulty - Junior

ย 

What I learned

  • In this project, I used html{font-size 62.5%} to calculate px for rem more easily
html {
  /* just to make it easier to calculate px for rem 
    
  calculation: 10px / 16px = 0,625 / 100
    
  10px = 1rem
  */
  font-size: 62.5%;
}

๐Ÿ•ฎ Article about html{font-size 62.5%}:

https://www.aleksandrhovhannisyan.com/blog/62-5-percent-font-size-trick/

ย 

  • Reusable classes and componentsโ€‹โ€‹to try to make my css cleaner
/* ========== REUSABLE COMPONENTS AND CLASSES ==========  */
.container {
  max-width: 117.4rem;
  padding: 0 3.2rem;
  margin: 0 auto;
}

.heading-secondary {
  font: var(--fw-semiBold) var(--font-h2) / var(--lh-1-25) "Bai Jamjuree", sans-serif;
  color: var(--color-primary);
  letter-spacing: -0.059rem;
  margin-bottom: 1.9rem;
}
.heading-tertiary {
  font: var(--fw-semiBold) var(--font-h3) / var(--lh-1-25) "Bai Jamjuree", sans-serif;
  color: var(--color-primary);
  letter-spacing: -0.039rem;
}

.font-body-medium {
  font: var(--fw-regular) var(--font-body-medium) / var(--lh-1-67)
      "Bai Jamjuree", sans-serif;
  letter-spacing: 0.014rem;
}

.font-body-normal {
  font: var(--fw-regular) var(--font-body-normal) / var(--lh-1-88)
      "Bai Jamjuree", sans-serif;
  letter-spacing: 0.012rem;
}

.description-text {
  font: var(--fw-regular) var(--font-body-big) / 1.5 "Bai Jamjuree", sans-serif;
  margin-bottom: 4.8rem;
}

.heading-text {
  max-width: 73rem;
  margin: 0 auto;
  text-align: center;
}

.btn-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
}

.btn:link,
.btn:visited {
  text-decoration: none;
  font: var(--fw-semiBold) 1.8rem/1.67 "Bai Jamjuree";
  color: #fff;
  border-radius: 2.8rem;
  letter-spacing: 0.5px;
  position: relative;
}
...

Links

ย 

My process

Built with

ย 

Responsive ๐Ÿ“ฑ - Mobile/Tablet/Desktop

Art gallery website Art gallery website Art gallery website

ย 

๐Ÿ‘จโ€๐Ÿ’ป Author

clipboard-landing-page-master's People

Contributors

viniciusshenri96 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.