therealnemis

CS Class - 10/7

Oct 6th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. Images
  2.  
  3. CSS are the rules you use to stylize the html elements
  4.  
  5. Talk about google
  6.  
  7. Different forms of adding CSS - Inline, Internal (Using style tag), and External
  8. <link rel="stylesheet" type="text/css" href="css/style.css">
  9.  
  10. show them color picker, we can use color names, html5 color names, hexadecimal, RGB
  11.  
  12. background-color: #123abc
  13. color: #123abc
  14. color: red;
  15.  
  16. Web safe font
  17. font-family: Arial, Helvetica, sans-serif;
  18.  
  19. Google fonts
  20.  
  21. change font size
  22.  
  23. font-size: 16px;
  24. font-weight: bold;
  25. font-weight: 900;
  26. font: normal 16px Arial, Helvetica, sans-serif;
  27. line-height: 1.6em;
  28.  
  29. Wrap paragraph and heading in div class="box-1"
  30.  
  31. Difference between class and ids
  32. add background color to div
  33.  
  34. add margin:0; to body
  35. .box-1 - color: white
  36.  
  37. div class container
  38. width: 500px;
  39. width: 80%
  40. div box-1
  41. border-right: 5px red solid;
  42.  
  43.  
  44. .box-1 h1{
  45.  
  46. }
  47.  
  48. a:hover, a:active, a:visited
Add Comment
Please, Sign In to add comment