个人记录
奔跑的酸菜鱼
望天,请多多关照
展开
-
记录对hover、transiotion、linear的运用
hover、transition、linear原创 2017-07-30 22:47:08 · 558 阅读 · 0 评论 -
div的hover显示隐藏
<style> .contain{ width: 100%; } .box{ margin: 100px auto; width: 500px; height: 500px; border: 1px solid #000;原创 2017-09-22 11:51:00 · 9274 阅读 · 0 评论 -
单行与多行文本溢出显示省略号
需设置宽度才能溢出显示省略号。 单行文本:.am-text-truncate { word-wrap: normal; /* for IE */ text-overflow: ellipsis; //当文本溢出显示省略符号来代表被修剪的文本。 white-space: nowrap; //规定段落中的文本不进行换行 overflow: hidden; }wo原创 2017-09-22 11:58:45 · 468 阅读 · 0 评论 -
简单的点击图片放大
<style> .bigPicWrap{ width: 100%; position: fixed; top:0; left:0; background-color: rgba(0,0,0,0.6); text-align: center; display: none;原创 2017-09-22 12:06:07 · 838 阅读 · 0 评论