Properti font weight digunakan untuk mengatur ketebalan font.

Cara penulisan:

property -> font-weight

value ->
normal
bold – tebal
bolder – lebih tebal
lighter – lebih tipis
100
200
300
400 – normal
500
600
700 – bold
800
900

Contoh penulisan:

h1 {

font-size: 14px;
font-weight: bold;
}
h2 {
font-size: 14px;
font-weight:100;
}

Hasil:

Ini adalah Heading 1 (H1) menggunakan font weight bold

Ini adalah Heading 2 (H2) menggunakan font weight 100



RSS feed | Trackback URI

Comments »

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Trackback responses to this post

Business Orange Wordpress theme by
E-Themes