Skip to content

This project is a site where we create a framework with SCSS, that simulates bootstrap. We use the created framework to make a clone of a site as an example. The SCSS framework is then used to clone the fedora site. Project created with HTML5, CSS, and SCSS.

Notifications You must be signed in to change notification settings

NewIncome/mv_framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mv_framework

This project is to take everything learned so far and use it to build our own simple grid-based framework (the scss file). It also consists of a second part which is building a website with the recently made framework; site built: getfedora.

Technologies used: HTML, CSS and SASS.

Content:

Main usage points for the framework used with css, main topics:

  1. Breakpoints
  2. Sizes
  3. Sides
  4. Paddings and Margins
  5. Classes
  6. Alignment
  7. Border
  8. Floats
  9. Positions
  10. Utilities

Breakpoints:

For added responsiveness for different screen sizes

  • xs -> 425px
  • sm -> 575px
  • md -> 767px
  • lg -> 1024px
  • xl -> 1440px

Sizes:

For col Sizes

  • columns go inside rows and are divided in 12 spans (1 - 12) For paddings and margins
  • from -8 to 8 which translates to: -4rem to 4rem

Sides:

Used mainly for paddings, margins

  • t -> top
  • b -> bottom
  • l -> left
  • r -> right

Paddings-Margins:

For each side and for each breakpoint

  • p(side)-(breakpoint)
    • pt, pb, pl and pr (e.g.: pr-xs)
  • m
    • mt, mb, ml and mr

Classes:

For positioning elements (used mainly for positioning with flex property)

  • container
  • container-fluid
  • col
    • (e.g.: col-xs-1)
    • can work with breakpoints
    • flex-col

Alignment:

For x-axis justify-content:

  • flex-
    • center, start, end , between and around For y-axis align-self:
  • align-
    • center, start and end

Border:

Used with rem values from 0 to 4 and worked with for 2 corners at a time

  • top (top left and right)
  • bottom (bottom left and right)
  • left (left top and bottom)
  • right (right top and bottom)

Floats

Used for floats and clear:

  • float-
    • l (left), r(right), n(none)
  • clear-
    • l(left), r(right), n(none), b(both)

Positions

Used for setting positiong of elements:

  • pos-
    • rel(relatve), abs(absolute), fix(fixed)

Utilities

Used to set stling to the text: Setting text size:

  • text-
    • from 1 to 8 which translates to: 0.5rem to 4rem Setting font weight:
  • text-
    • b(bold), n(normal), l(lighter)

Githack Clone link:

For more info, check the Odin Project

Collaborators & profiles link:

About

This project is a site where we create a framework with SCSS, that simulates bootstrap. We use the created framework to make a clone of a site as an example. The SCSS framework is then used to clone the fedora site. Project created with HTML5, CSS, and SCSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published