Ruby's Louvre

每天学习一点点算法

导航

2013年8月7日 #

让孩子与父节点等高

摘要: 让孩子与父节点等高 TODO write content 运行代码 阅读全文

posted @ 2013-08-07 20:36 司徒正美 阅读(1769) 评论(8) 推荐(0) 编辑

使用「max-height」实现自适应高度

摘要: .tab-content{ max-height: 0; overflow: hidden; -webkit-transition: max-height .8s; -moz-transition: max-height .8s; -ms-transition: max-height .8s; -o-transition: max-height .8s; transition: max-height .8s;}.tab{ list-style-type: none; list-style-image: none; margin: 0; padding: 0; mar... 阅读全文

posted @ 2013-08-07 19:59 司徒正美 阅读(2950) 评论(1) 推荐(0) 编辑