摘要: html: <div class="countdown"> <p class="mtp"><span class="countdown_text">答题倒计时</span></p> <p class="line_height34"><span id="countdown_time"></span>< 阅读全文
posted @ 2017-05-10 15:50 小芳姑娘~~ 阅读(315) 评论(0) 推荐(0)
摘要: 鼠标滚动到某个楼层,某个楼层的楼层按钮高亮显示,点击左边的楼层按钮,页面直接定位到这个楼层 html: <div style="height: 100px;text-align: center" class="head">头部</div> <div class="main"> <div style= 阅读全文
posted @ 2017-05-10 14:37 小芳姑娘~~ 阅读(357) 评论(0) 推荐(0)
摘要: 在实际工作中,很多时候都会有几行几行之后显示省略号的需求,都知道单行省略号的需求很简单,三个属性就实现了(overflow: hidden;text-overflow:ellipsis;white-space:nowrap;),但是多行的话,就稍微麻烦一些了,网上也有很多实现方法,但很多都不兼容,那 阅读全文
posted @ 2017-05-10 11:47 小芳姑娘~~ 阅读(217) 评论(0) 推荐(0)