摘要:
.clearfix:after{clear:both; display:block; content:"";}.clearfix{zoom:1} .fl{float:left} .fr{float:right} 阅读全文
摘要:
(function () { var coverImage = document.querySelector('<div id="coverImage">file</div>'); //图片压缩 coverImage.onchange = function () { lrz(this.files[0 阅读全文
摘要:
<script> function setCookie(cname,cvalue,exdays){ var d = new Date(); d.setTime(d.getTime()+(exdays*24*60*60*1000)); var expires = "expires="+d.toGMTS 阅读全文
摘要:
http://www.imooc.com/article/12700<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transiti 阅读全文
摘要:
方法一: mar和padding采用百分比的设置具体值 方法二: 定位:position:absoulte left/top采用百分比 方法三: 定位和margin配合使用,需要计算; position:absoulte left:50% top:50% margin-top:-325px marg 阅读全文
摘要:
var $info_b=$('div.info_b'),$xiaoxi = $info_b.find('div.xt-xiaoxi'); function DSQ(){ $('#'+footid).hide(); $xiaoxi.css({'position':'absolute','bottom' 阅读全文
摘要:
css input[type=file] 样式美化,input上传按钮美化 参考:http://www.haorooms.com/post/css_input_uploadmh 阅读全文
摘要:
var ruleTxt = $(".wanfan .rule .rule-txt");var ruleTxtBottom = $(".wanfan .rule .rule-txt .rule-txt-bottom");var flag = '';$(".wanfan .rule .rule-btn" 阅读全文