css:层叠样式表
很多样式: 元素大小 背景 文本内容
放大镜v移动 z还原
ps工具使用
标尺工具 ctrl+r 移动工具 V 放大镜工具 z 抓手工具 按住空格键 切片工具 C 帮助测量尺寸 切出对应图片 吸管工具 I
内容(content)、内边距(padding)、边框(border)和外边距(margin)
*{ margin:0; padding:0; } .header{ width: 100%px; height: 491px; `background`-color: #0e0f0f; } .top{ width: 100%; height: 143px; background-color: black; } .bottom{ width: 100%; height: 348px; background-image: url(images/1.png); } .main{ width: 100%; height: 896px; background-image: url(images/2.png); } .footer{ width: 100%; height: 124px; background-color: black; }div是分区分割页面 是division的缩写
标签是加粗 bold的缩写加粗 加粗 即加粗又强调
倾斜
删除线标签
下划线标签
font字体 size字号
style="color: pink;font-size=18px;"