FlintSable
9/22/2017 - 2:43 AM

Basic CSS


font-family: Helvetica, Arial, Sans-Serif

text-decoration: underline;

text-transform: uppercase;

text-align: center, left, right;

font-size: 60px;
width: 245px
height: 25px;
border: 1px;
border: 2px dotted;
border: medium dashed green;

 /* em - default size 16px unless defined by font size */
 /* good for sizing elements in relation to nearby elements */
.spash-section {
  /* in this case this would be the size of 1em*/
  font-size: 18px; 
}
.splash-section h1 {
  /* this would be 27px*/
  font-size: 1.5em;
}

/* rem */
/* good for sizing elements across entire website*/
html {
  font-size: 20px;
}

h1 {
  /* this will be 40px */
  font-size: 2rem;
}