外边距合并margin-top属性失效。代码实例如下:
蚂蚁部落 .first{ width:100px; height:100px; background-color:red; margin-bottom:60px; } .second{ width:100px; height:100px; background-color:green; margin-top:40px; }
查看更多关于cssmargin-top属性不起作用的几个原因的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did115237