![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
css
lieut9011
这个作者很懒,什么都没留下…
展开
-
文字溢出使用点点点
.logDetails { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; list-style: disc inside none; max-width: 700px; }原创 2016-11-01 15:25:26 · 390 阅读 · 0 评论 -
背景色平铺,高度自动
在不能使用body的情况下,可以采用下面的方法: #app { height: 100vh; background: #2783f3; } #wrap { background: #2783f3; padding: 31px 20px 30原创 2018-02-02 17:10:48 · 446 阅读 · 0 评论 -
安卓手机模拟1px
.one-pixel { position: relative; &::after { content: ''; display: block; position: absolute; width: 100%; left: 0; top: 0; height: 1px; back...原创 2018-03-23 16:24:10 · 231 阅读 · 1 评论 -
nav滑动效果
<ul class="ul-wrap"> <li>ABC你好</li> <li>ABC你好123</li> <li>Hello World</li> <li>ABC</li> <li&a原创 2018-03-28 17:09:48 · 561 阅读 · 0 评论 -
去除html双击后选中有蓝色背景
-moz-user-select: none; /*火狐*/-webkit-user-select: none; /*webkit浏览器*/-ms-user-select: none; /*IE10*/-khtml-user-select: none; /*早期浏览器*/user-select: none;原创 2018-05-23 14:14:37 · 723 阅读 · 0 评论 -
IE11中z-index失效问题
添加background: rgba(0, 0, 0, 0.02);就ok了。原创 2018-08-15 11:56:22 · 1565 阅读 · 0 评论