CSS
CSS
Ŭ ̵
ּ
ؽƮ
color
direction
backgroud-color
line-height
letter-spacing
text-align
text-decoration
text-indent
word-spacing
background-color
background-image
background-repeat
background-position
background-attachment
Font
ũ
Box Model
輱(border)
Ʈ(list)
Ŭ(class) ̵(id)

Ŭ(class)

p {color:red} ϸ ˴ϴ. ׷ Ư ҷ  ұ?

Ŭ(class) ̿ϸ ˴ϴ.

<style type="text/css">
<!--
p.red {color:red}
//-->
</style>

<p>Ϲ Դϴ.</p>

<p class="red">red ̸ Ŭ Դϴ.</p>

red Ŭ ܿ ׽ϴ. Ư HTML ҿ Ű ʰ Ŭ ص ˴ϴ.

<style type="text/css">
<!--
.red {color:red}
//-->
</style>

<h3 class="red">񿡵 red Ŭ մϴ.</h3>

<p class="red">red ̸ Ŭ Դϴ.</p>

̿ Ŭ ϴ ϹǷ ˴ϴ.

̵(id)

Ŭ . ̿Ͽ ϰ ̵ # ̿Ͽ մϴ.

<style type="text/css">
<!--
#red {color:red}
//-->
</style>

<p id="red"> id redԴϴ.</p>

<p>Ϲ Դϴ.</p>

Ŭ ̵ Ŭ ̵ Ƿ ѹ ֽϴ.

Ȩ ü Ÿ ϰְ ϱ ؼ Ŭ(class) ʼԴϴ. ǹ Ŭ(class) ϰ ̷ ֽϴ.

߿ ߿ " ǥѴ" ħ ߴٸ red Ŭ ( ܺ CSS Ϸ մϴ.) ߿ κп <span class="red"></span> ̿ ݴϴ.

̷ Ŭ ϸ " ʹ ϹǷ ߿ ǥҶ ϰ ׾" ħ red Ŭ Ÿϸ ٲٸ Ȩ Ÿ ˴ϴ.

Ÿ ϴ ͺٴ Ŭ(class) ܺ CSS ̿ϴ ü ϰ Ÿ ÿ ۾ ȿ ݴϴ.

Copyright © Homejjang.com All rights reserved.