Skip to content

hassanidris/2pac-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hyper Island - 2pac Website for school project

Result project for six weeks of (Foundemental of HTML & CSS) I am thrilled to share that I have successfully completed a six-week course on the fundamentals of HTML and CSS, and I can't wait to show you the final project - my very own 2Pac website!

Table of contents

Overview

Screenshot

Screenshot 2023-10-11 at 23 35 16

Links

My process

Built with

  • SASS / CSS Variables
  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Javascript
  • JQuery

What I learned

To see how you can add code snippets, see below:

  • CSS Variables
/*  Colors  */
--clr-black: hsl(0, 0%, 7%);
--clr-black-alpha: hsla(0, 0%, 0%, 0.9);
--clr-white: hsl(0, 0%, 100%);
--clr-white-alpha: hsla(0, 0%, 100%, 0.617);
--clr-grey: hsl(0, 0%, 64.71%);

/*  font-size  */
--fs-700: 2.25rem;
--fs-600: 1.5rem;
--fs-500: 1.375rem;
--fs-400: 1.25rem;
--fs-300: 1rem;
--fs-200: 0.875rem;
--fs-100: 0.7rem;
--fs-50: 0.5rem;
  • Using VW unit with fontsize
h1 {
    font-size: 5vw;
    font-weight: 400;
    line-height: 5vw;
}
h2 {
    font-weight: 400;
    line-height: 4vw;
}
h3 {
    font-size: 3vw;
    font-weight: 400;
    line-height: 3vw;
}
  • Using auto-fit GridLayout
.playlist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
}

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published