1.使用步骤:1⃣️File-open选择建好的站点文件夹
2⃣️站点文件夹右键新建HTML文件,名为“index”
2.Mac下的WebStorm修改Code大小:WebStorm--Preferences--Editor--General--Font--Size
3.WebStorm里面不需要保存。
4.shortcut作为快捷导航名称。
.shortcut { }注意在类选择器名称和大括号之间有个空格。
5. .one>ul>li*10>a表示10个li,每个 li里面都包含1个 a,按住option往下拉添加#
6.CSS按位置分为行内式、内嵌式、外联式。
7.Font: 字体加粗 字号/行高 字体;
必须有字号和字体。
Font-weight:bold; 相当于 700
8.记忆: S del 删除线
I em 倾斜
U ins 下划线
字体加粗 font-weight: 700;
让字体不加粗: font-weight:normal;
字体倾斜: font-style:italic; 不用
字体不倾斜: font-style:normal;
不下划线 不删除线: text-decoration: none;
定位: position:static; 静态定位 约等于标准流
浮动的不浮动: float:none; none left right
定位的不定位: position: static; absolute relative fixed