html5 + css3

html5

h1
h2
p
main
header
footer
nav
video
section
article
ul>li
ol>li
input
audio
checkbox
Doctype

css3

教程:
https://www.freecodecamp.org/news/best-css-and-css3-tutorial/
color
font
positioning
spacing
sizing

应用css的方法

style attr
style tag
link

css基础

font-size
font-family
谷歌字体
浏览器默认字体monospace, serif and sans-serif
边框border
圆角 border-radius
border-radius: 50%变圆形

id
padding
margin
padding: 10px 20px 10px 20px;
html5 + css3
css的优先级
使用!important
颜色 16进制表示 依次是RGB 0最暗,F最亮
颜色 :rgb(0,0,0)
css变量, 使用--声明,使用var()取值
html5 + css3

css命名规则

字体和颜色都超舒服的

html5 + css3