css中"."是什么意思
比如.title{FONT-SIZE:15px;FONT-FAMILY:Verdana,Helvetica;COLOR:#003399;font-weight:bold;...
比如.title {
FONT-SIZE: 15px; FONT-FAMILY: Verdana, Helvetica; COLOR: #003399; font-weight: bold;
}
.chapter {
FONT-SIZE: 14px; FONT-FAMILY: Verdana,Helvetica; letter-spacing: 2px;
text-align: center; font-weight: bold;
}
.content {
FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; COLOR: #000000
}
.grayed {
FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; COLOR: #999999
}
.frozen {
FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; COLOR: #0099FF
}
.comment {
FONT-SIZE: 11px; FONT-FAMILY: "Courier New", Courier, monospace; COLOR: green; font-style: italic;
}
.active {
FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; COLOR: #FF0000
}
.option {
FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; FONT-WEIGHT: bold;
BACKGROUND: none transparent scroll repeat 0% 0%; COLOR: #ffffff; TEXT-DECORATION: none
}
.tiny {
FONT-SIZE: 9px; FONT-FAMILY: Verdana, Helvetica; COLOR: #4682B4; FONT-WEIGHT: normal;
font-style: italic; BACKGROUND: none transparent scroll repeat 0% 0%;
}
这里点后面的量是自定义类名吗?还是html的标签?如果是类名,不同类型的标签可以定义相同的类名?如果是标签,为什么要加点? 展开
FONT-SIZE: 15px; FONT-FAMILY: Verdana, Helvetica; COLOR: #003399; font-weight: bold;
}
.chapter {
FONT-SIZE: 14px; FONT-FAMILY: Verdana,Helvetica; letter-spacing: 2px;
text-align: center; font-weight: bold;
}
.content {
FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; COLOR: #000000
}
.grayed {
FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; COLOR: #999999
}
.frozen {
FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; COLOR: #0099FF
}
.comment {
FONT-SIZE: 11px; FONT-FAMILY: "Courier New", Courier, monospace; COLOR: green; font-style: italic;
}
.active {
FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; COLOR: #FF0000
}
.option {
FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; FONT-WEIGHT: bold;
BACKGROUND: none transparent scroll repeat 0% 0%; COLOR: #ffffff; TEXT-DECORATION: none
}
.tiny {
FONT-SIZE: 9px; FONT-FAMILY: Verdana, Helvetica; COLOR: #4682B4; FONT-WEIGHT: normal;
font-style: italic; BACKGROUND: none transparent scroll repeat 0% 0%;
}
这里点后面的量是自定义类名吗?还是html的标签?如果是类名,不同类型的标签可以定义相同的类名?如果是标签,为什么要加点? 展开
6个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询