Skip to content

pthapa1/default-starter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSS Default Starter / Global Styles

Save time on project setup. Less lines of CSS.

Normalize

Small CSS file that provides cross-browser consistency in the default styling of HTML elements.

Alternative/Fancier way of doing this

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
  • Go to Docs
  • Select the latest version
  • Create normalize.css
  • Setup the link in the html
<link rel="stylesheet" href="./normalize.css" />

Fonts

Select Fonts

Grab the CSS

Make some adjustments

Colors

:root {
  /* primary */
  /* grey */
  --black: #222;
  --white: #fff;
  --red-light: #f8d7da;
  --red-dark: #842029;
  --green-light: #d1e7dd;
  --green-dark: #0f5132;
}

Select Primary

Manual Approach

Library/Faster Approach

Select Grey

Just go with happyhues

Box Shadow

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 63.2%
  • HTML 36.8%