html
往地上就是一躺
这个作者很懒,什么都没留下…
展开
-
HTML5上传图片预览(不需通过服务器)
<div class="upload_box"> <input type="file" id="upimg" multiple> </div> <div class="show" id="show"></div><script> var Upload = (function(){ var upimg = document转载 2016-07-21 16:42:29 · 822 阅读 · 0 评论 -
取消页面鼠标左键选中高亮显示效果
<body onselectstart="return false">加入上面代码后 蓝色高亮消失原创 2016-07-08 14:08:20 · 887 阅读 · 0 评论 -
scss/css正六边形
scss:.hexagon { width: 100px; height: 55px; background: red; margin: 50px auto; position: relative; &:before, &:after { content: ""; position: absolute;转载 2016-08-31 14:14:15 · 315 阅读 · 0 评论 -
常见IE6 bug兼容总结
1.min-width,max-width/min-height,max-height兼容div{ max-height:600px; min-height:40px; _height:expression(this.scrollHeight > 600 ? "600px":(this.scrollHeight < 40 ? "40px":"auto")); }原创 2016-08-22 11:28:41 · 202 阅读 · 0 评论 -
常用的IE=edge
<meta http-equiv="X-UA-Compatible" content="IE=Edge">原创 2016-07-05 11:30:49 · 393 阅读 · 0 评论 -
CSS伪元素 :before :after
1、八卦制作 转载自:http://www.hulufei.com/post/about-before-and-after-pseudo-element css:#ba{ width: 96px; height: 48px; background: #eee; border-color: red; border-style: solid; bord转载 2016-09-02 10:53:00 · 340 阅读 · 0 评论 -
图片上传
图片上传到服务器再显示原创 2016-08-12 14:58:15 · 334 阅读 · 0 评论 -
javascript上传预览图片(IE8支持)
html: <input type="file" multiple="true" name="imgOne" id="imgOne" onchange="preImg(this.id,'imgPre');" /> <img id="imgPre" src="" width="300px" height="300px" style="display: block;" /> javasc转载 2016-07-22 17:26:26 · 4772 阅读 · 2 评论