Skip to content

Sgreid7/octocats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Octocats

This is a responsive website cloned after (https://octodex.github.com/)

Objectives

  • Build on your knowledge of HTML & CSS
  • Implement, from scratch, a given design
  • Understand HTML/CSS Layout
  • Be able to place elements on a page where you want them.
  • Use flexbox and grid techniques layout pages.
  • Work with media queries to build a responsive page.

Includes

Featured Code

Media Query

@media (min-width: 1010px) {
  nav {
    padding: 0;
    margin: 0;
  }

  main {
    display: grid;
    grid-template-columns: repeat(3, 30%);
    grid-column-gap: 2.5rem;
    grid-row-gap: 1rem;
  }

  .logo {
    padding: 1rem 0;
  }

  p {
    font-size: 0.9rem;
  }
}

Live Site