![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
css相关
Ther白开水
这个作者很懒,什么都没留下…
展开
-
单/行文字溢出省略
常规做法html<p class="text"></p>css/*单行*/.text { overflow: hidden; text-overflow:ellipsis; white-space: nowrap; }/*多行*/.text { display: -webkit-box; -webkit-box-orient: vertical;...原创 2019-12-26 14:53:32 · 178 阅读 · 0 评论 -
css 去除 button 点击之后的默认样式
HTML<button class="btn"></button>CSS.btn:focus,.btn:active:focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn.active.focus { outline: none; border-color: transparent; /...原创 2019-10-11 14:38:32 · 14423 阅读 · 0 评论