欢迎来到天天文库
浏览记录
ID:39349807
大小:583.60 KB
页数:13页
时间:2019-07-01
《《css背景与边框》PPT课件》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、背景与边框主讲:吕玲知识点一、颜色二、边框一、颜色1、前景色语法:color:color_value2、背景色语法:background:background-colorbackground-imagebackground-repeatbackground-positionbackground-attachment图像固定(scroll或fixed)图像排列方式:repeat----默认,并排平铺repeat-x----x轴平铺repeat-y----y轴平铺no-repeat----不并排平铺注:transparent----透明色二、边框1
2、、上边框----border-top2、下边框----border-bottom3、左边框----border-left4、右边框----border-right语法:border-style----边框线样式border-width----边框线宽度border-color----边框线颜色边框样式:None----无边框(默认)double----双实线Dotted----虚点线dashed----虚短线Solid----实线groove----沟线立体效果Ridge----脊线立体效果inset----嵌入线立体效果Outset----浮
3、出线立体效果边框宽度:Thin----细线Thick----粗线Medium----中线5、边框与内容间的距离----padding语法:padding----toppadding----bottompadding----leftpadding----right6、设置边界----margin----到浏览器边界的距离语法:margin----topmargin----bottommargin----leftmargin----right
此文档下载收益归作者所有