[CSS기초] 4. 문자 스타일

INDEX

  1. 요점
  2. text-decoration
  3. text-align
  4. text-indent
  5. text-transfrom
  6. letter-spacing
  7. word-spacing
  8. vertical-align
  9. white-space

요점

text-decoration

.abcd {
    text-decoration : underline;
}

text-align

text-indent

p {
    text-indent : 1em;
}

text-transfrom

letter-spacing

p {
    letter-spacing: -1px;
}

word-spacing

p {
    word-spacing: 1em;
}

vertical-align

strong{
    vertical-align: top;
}

white-space

p {
    white-space : nowrap;
}

image