摘要:
font-weight: 加粗;font-size: 字体大小;font-family: 字体系列;font-style: 字体风格(斜体...);color: 颜色;opacity: 透明度;height: 字体高度;background-color: 背景颜色;line-height: 行高;t 阅读全文
摘要:
默认情况下,优先级: 行内样式>内部样式>外部样式 但有时候会因为权值的问题,不遵循上述的优先级比如:<head> <meta charset="UTF-8"> <style> /*权值大的生效*/ /*100+1+1=102*/ #redp p em{ color: red; } /*100+10 阅读全文