Quantcast
Channel: 9zap.com » CSS
Viewing all articles
Browse latest Browse all 10

Basic Text CSS every designer must know

$
0
0

css
Basic Text CSS every designer must know. I have used image to explain the CSS style. I will mention only basic CSS styles. There are few advanced text CSS, which I will post later.

Font Size

Size of text font.
CSS code

font-size: 12px;

Font Family

Font you want to use.
CSS Code

font-family: verdana,sans-serif;

Font color

Color of text.
CSS code

color: #C43737;

font color

Letter Spacing

Space between two letter of a word.
CSS Code

letter-spacing: 1.5pt;

letter-spacing

Word Spacing

Space between two words.
CSS Code

word-spacing: 1.2pt;

word-spacing

Line height

Height of line.
CSS Code

line-height: 1.4;

line-height

These are very basic text css . There are few more basic text CSS like:
font-weight
font-style
text-decoration
text-transform
text-align


Viewing all articles
Browse latest Browse all 10

Trending Articles