
CSS
打小我就狂
这个作者很懒,什么都没留下…
展开
-
CSS 初始化代码
/* 清除内外边距 和 c3 盒子模型 */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font: 16px/1.5 sans-serif; color: #333; background-color: #fff; } /* 取消li 的小点 */ li { list-style: none; } /* 不倾斜 */ em, i { font-style: normal; } /* 取消下划线, 设...原创 2021-12-13 15:26:24 · 665 阅读 · 0 评论 -
CSS样式大全
字体属性:(font) 大小 {font-size: x-large;}(特大) xx-small;(极小) 一般中文用不到,只要用数值就可以,单位:PX、PD 样式 {font-style: oblique;}(偏斜体) italic;(斜体) normal;(正常) 行高 {line-height: normal;}(正常) 单位:PX、PD、EM 粗细 {font-weight: bold;}(粗体) lighter;(细体) normal;(正常) 变体 {font-variant: sm原创 2021-11-29 11:59:51 · 1858 阅读 · 0 评论 -
CSS text文本样式
原创 2020-06-10 16:19:53 · 476 阅读 · 0 评论 -
CSS 样式背景操作
原创 2020-06-10 15:52:54 · 207 阅读 · 0 评论