15
Feb
2013

Basic Text CSS every designer must know

Posted in: CSS Comments Off

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

About the Author

Name: Ravi Shekhar
I love learning and sharing web stuffs.

Share this post

Twitter Facebook Google Buzz Digg StumbleUpon Delicious Technorati
Both comments and pings are currently closed.

Comments are closed.