html基础
人生无常1997
这个作者很懒,什么都没留下…
展开
-
移动端实用小技巧
字体图标 https://www.iconfont.cn/ 这是我的字体图标首页 在<head></head>里面用link引入文件 <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/> 使用: <!-- 引入 iconfont.css文件 --> <link rel="stylesheet" href="./fonts/iconfont.css">原创 2022-06-05 21:12:37 · 100 阅读 · 0 评论 -
权重叠加是这样计算的
优先级 <style> /* 7、!important 最强外挂 */ p { /* color: purple !important; */ } /* 5、id选择器 */ #one { /* color: skyblue; */ } /* 4、类选择器 */ .son { /* color: orange; */ }原创 2022-04-09 09:41:55 · 315 阅读 · 0 评论