
css
文章平均质量分 79
丑丑丫
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
常用css
/*取消chrome默认的黄色背景*/ input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px white inset !important; } /*密码的大小和字体有关*/ input[type="password"] { font: large Verdana,sans-serif; letter-spacing: 1原创 2017-01-23 12:02:55 · 219 阅读 · 0 评论 -
switch-btn
/*选择开关盒子*/ .el-switch { display: inline-block; position: relative; font-size: 14px; line-height: 22px; height: 22px; vertical-align: middle } /*选择开关盒子 输入框*/ .原创 2017-05-23 14:36:10 · 748 阅读 · 0 评论 -
代码规范
http://alloyteam.github.io/CodeGuide/原创 2017-08-03 10:15:04 · 217 阅读 · 0 评论 -
图片视频自适应大小
// html <div class="box"> <img src= "" /> </div> // style .box { display: flex; justify-center: center; align-items: center } .box img { display: block; max-width: 100%; max-...原创 2018-12-26 14:27:07 · 602 阅读 · 0 评论 -
浏览css兼容
文字两端对齐 text-align:justify IE下的使用: text-justify:distribute-all-lines;原创 2019-01-25 16:32:18 · 133 阅读 · 0 评论 -
fixed 遇到 transform
fixed 遇到 transform就失效 代码 &lt;div class="box"&gt; 我用了transform &lt;div class="content"&gt;我是fixed&lt;/div&gt; &lt;/div&gt; &lt;style&原创 2019-01-25 16:50:42 · 1052 阅读 · 0 评论