![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
html5/css3
寒江点雪
这个作者很懒,什么都没留下…
展开
-
font-size设置为12px以下载谷歌浏览器上无法正常显示,如何解决?
因为 Chrome浏览器做了如下限制: 1. font-size 有一个最小值 12px,低于 12px 的,一律按 12px 显示。 2. 但是允许你把 font-size 设置为 0. 3. 这个 12px 的限制用户是可以自行调整的,进入 chrome://settings/fonts 进行设置。 通过代码的解决方法: 1. Chrome 29 版本之前,在css代码中...原创 2017-10-17 15:13:02 · 1019 阅读 · 0 评论 -
Vertical-align
Vertical-align:只能应用于inline水平以及table-cell元素 lnline:<img> <span> <strong> <em> 未知元素..... talbe-cell:<td> Vertical-align:baseline(基线对其)默认值 Vertical-align:super(提高盒...原创 2017-10-11 19:04:18 · 192 阅读 · 0 评论 -
常用CSS样式重置 resetCSS-style
@charset "utf-8"; /* CSS Document */ body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6,pre, form, fieldset, input, textarea, p, blockquote, th, td {padding: 0; margin: 0;} fieldset, img...原创 2019-04-04 17:38:56 · 383 阅读 · 0 评论 -
改变input placeholder 的颜色
input::input-placeholder{ color:#b8c4ce!important; } input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #b8c4ce!important; } input:-moz-placeholder, textarea:-mo...原创 2019-04-04 17:42:31 · 208 阅读 · 0 评论 -
CSS穿透(当前层对鼠标事件不起作用)
CSS穿透: pointer-events: none; 恢复正常: pointer-events: auto;原创 2019-04-04 17:51:11 · 685 阅读 · 0 评论 -
css控制显示行数,多出部分显示省略号
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, max...原创 2019-04-16 21:11:28 · 453 阅读 · 0 评论