CSS
今天不是愚人节
这个作者很懒,什么都没留下…
展开
-
CSS 文本外观属性
white-space 空白符处理 .pn1{ white-space: normal; //换行和空格不起作用 } .pn2{ white-space: pre; //保留空格换行 } .pn3{ white-spa...原创 2019-04-17 08:48:10 · 615 阅读 · 0 评论 -
CSS样式美化div盒子
使用CSS样式美化div字体及样式盒子的属性背景图片的详细设置属性完整代码片页面演示图片 字体及样式 font-family: "等线 Light"; /*字体为等线 Light */ font-size: 1.5em; /*字体大小为默认值的2倍*/ line-height: 1.5em; /*行高为1.5倍*/ color: d...原创 2019-04-14 13:45:32 · 3302 阅读 · 0 评论 -
CSS使用过渡和动画
文章目录鼠标过渡代码片Animation代码片区别 鼠标过渡 代码片 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Title</title> <style type="text/css"> p{ ...原创 2019-04-14 20:55:40 · 285 阅读 · 0 评论 -
弹性盒子
flex-direction flex-direction 属性指定了弹性子元素在父容器中的位置。 flex-direction: row | row-reverse | column | column-reverse justify-content 内容对齐(justify-content)属性应用在弹性容器上,把弹性项沿着弹性容器的主轴线(main axis)对齐。 justify-cont...原创 2019-06-26 08:50:34 · 134 阅读 · 0 评论