其他分享
首页 > 其他分享> > css代码风格

css代码风格

作者:互联网

1.样式格式书写

1.紧凑格式

<style>

he {color=" red"/*红色*/ font-size=" 12px "/*字体大小的样式*/}

这个he标签必须要要给上面的he同样才可以显示把下面的字体给添加大小写和字体样色!!!

<he> 泰兰特王 </he>

</style>

2.展开格式

<style>

/* 修改样式 */

p {

color = " rgd(59,255,9) "/* 绿色*/

font-size=" 12px"/*字体大小样式*/

}

</style>

<p>百慕拉</p>

 

标签:字体大小,12px,样式,代码,color,风格,格式,css,he,css代码
来源: https://www.cnblogs.com/lihaozhe001/p/16057665.html