码迷,mamicode.com
首页 >  
搜索关键字:width    ( 32014个结果
iH5中img标签src不给路径就会出现边框————记一次二笔的编码经历
<img/>在src加载失败或没有给的,浏览器会自动给img加上边框。 如下图这样: 产品觉得影响美观,一定要pass掉。 原码是这样: .ctn{ position: relative; width: 2.8rem; height: 2.8rem; border-radius: 3px; over ...
分类:其他好文   时间:2016-08-12 21:19:53    阅读次数:417
jquery生成二维码
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>二维码</title> </head> <style> #qrcode{ position: relative; width: 400px; height: 4 ...
分类:Web程序   时间:2016-08-12 18:06:26    阅读次数:141
loading上下左右居中
.loading { width: 50px; height: 60px; text-align: center; font-size: 10px; position:fixed; left:50%; top:50%; margin-top:-30px; margin-left:-25px;} ht ...
分类:其他好文   时间:2016-08-12 14:43:50    阅读次数:1203
CSS常用样式(二)
一、边框属性 1、border:复合属性。设置对象边框的特性。 取值: border-width: 设置或检索对象边框宽度。 border-style: 设置或检索对象边框样式。 border-color: 设置或检索对象边框颜色。 2、border-width:设置对象的边框宽度。 取值: mea ...
分类:Web程序   时间:2016-08-12 13:31:14    阅读次数:174
overflow属性的用法
<style type="text/css">div{ background-color:#00FFFF; width:150px; height:150px; overflow: scroll}</style> 如果值为 scroll,不论是否需要,用户代理都会提供一种滚动机制。因此,即使元素框中 ...
分类:其他好文   时间:2016-08-12 13:25:45    阅读次数:155
CSS基础篇之选择符3
border(边框) 如何用CSS调出边框 我们给p标签加一个边框试一下 第一个值是为边框的宽度 第二个值是为边框线样式为直线 第三个值是为边框的颜色 border-width(边框的宽度) 如果不调宽度的话默认边框是从左边到最右边。设置之后可以调节宽度。 border-top-width:;上 b ...
分类:Web程序   时间:2016-08-12 13:24:44    阅读次数:371
8月10日CSS总结
1、三角形光标转换 CSS: .one{ width: 0;­­ height: 0; border-top: 100px solid #000; border-right:100px solid transparent; border-left:100px solid transparent; } ...
分类:Web程序   时间:2016-08-12 13:22:12    阅读次数:150
plupload 如何控制最小宽度和文件类型
直接上代码 参考文章: http://stackoverflow.com/questions/14091505/control-image-width-and-height-when-upload-image ...
分类:其他好文   时间:2016-08-12 13:18:22    阅读次数:1171
CSS深入之第四天
一、盒子样式——边框: 1.border-width 边框宽度 如:div{width:200px;height:100px;border-width:1px;} 2.border-color 边框颜色 如:div{width:200px;height:100px;border-color:#ccc ...
分类:Web程序   时间:2016-08-12 13:02:04    阅读次数:191
8.11 CSS知识点4
边框样式 1.边框宽度 border-width:medium | thin | thick | length border-top-width 设置上边框宽度 border-bottom-width 设置下边框宽度 border-left-width 设置左边框宽度 border-right-wi ...
分类:Web程序   时间:2016-08-12 12:59:29    阅读次数:198
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!