Skip to content

Instantly share code, notes, and snippets.

@imralpharvin
Last active September 13, 2020 20:01
Show Gist options
  • Select an option

  • Save imralpharvin/f73902423cc2ca4e5b0d4eba82d34f65 to your computer and use it in GitHub Desktop.

Select an option

Save imralpharvin/f73902423cc2ca4e5b0d4eba82d34f65 to your computer and use it in GitHub Desktop.
CSS Notes

CSS

External CSS

<link rel="stylesheet" type="text/css" href="mystyle.css">

CSS External References (better than inline)

<link rel="stylesheet" href="https://www.w3schools.com/html/styles.css">

You can use bootstrap 5

class

  • Can be used to style div elements easily
#class {}

Change background colour

body { 
background colour: 
}

Colour shades

https://www.w3schools.com/colors/colors_shades.asp

Text

padding: top right bottom left;
letter-spacing: 3px;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment