摘要:
<!DOCTYPE HTML><html><head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>CSS3瀑布布局</title> <style type="text/css"> /***** 阅读全文
摘要:
1,在浮动元素后面增加<br/>标签; <br/>标签有自带的清除浮动属性; 2,在浮动元素后面增加一个清除浮动层; <div> <div style="float:left"></div> <div style="float:left"></div> <div style="clear:both" 阅读全文
摘要:
$(function(){ $('.img-box img').load(function(){ var w = $(this).width(); var h =$(this).height(); if (w < h){ $(this).css('height','100%'); var b... 阅读全文
摘要:
span{ display: inline-block; border-top: 100px solid red; border-right: 100px solid transparent; border-bottom: 100px solid transparent; border-left: 阅读全文
摘要:
-webkit-column-width:100%; //列宽 -moz-column-width:100%;-o-colum-width:100%;colum-width:100%;-webkit-column-count: 2; //列数-moz-column-count: 2;-o-colum 阅读全文