css(cascading style sheets)层叠样式表
css引入方式
行内样式<div style="color;red;">内容</div>
内嵌式<style>div{color:red;}</style>
子主题 3
外链式<link rel="stylesheet" href="css文件'>
border边框
border-width边框宽度
boeder-color边框颜色
border-style边框样式
none无边框
solid实线
dashed虚线
dotted点状线
double双实线
简写border;border-width值 border-style值border-color值
border-top上边框
border-bottom
margin外边距
margin-top上边边距
margin-bottom下边距
margin-left左边距
margin-right右外边距
简写
margin:值
margin:值1 值2;
margin:值1 值2 值3;
margin:值1 值2 值3 值4;