h1{
font-size: 24px;
color: #ff0000;
} .クラス名{
font-size: 20pt;
font-weight: bold;
font-family: Osaka;
}
#クラス名{
font-size: 20pt;
font-weight: bold;
font-family: Osaka;
}
と記す。
a:link{
font-size: 14px;
}
a:visited{
font-size: 12px;
}
a:active{
font-size:16px;
}
a:hover{
font-size:15px;
}
注/HOVER は、リンク上をマウスカーソルが乗ったときの指定で、IE4のみ対応。
@import (main.css)