
CSS
Y_JY
这个作者很懒,什么都没留下…
展开
-
边框为1px的table
table{ width:600px; border-collapse:collapse; } tr{ height:30px; } td{ border:1px solid #ccc; }原创 2014-07-24 14:57:39 · 591 阅读 · 0 评论 -
css2
使用css如果想要容器里内容垂直居中设置line-height原创 2014-07-05 22:09:29 · 364 阅读 · 0 评论 -
判断div是否隐藏
htmlxmlns="http://www.w3.org/1999/xhtml"> head> metahttp-equiv="Content-Type"content="text/html;charset=utf-8" /> title>绑定函数title> scriptsrc="jquery-1.3.2.js">script> script> $(docu原创 2015-02-07 18:23:11 · 1804 阅读 · 0 评论 -
CSS高级技巧
下面这些CSS高级技巧,一般人我可不告诉他哦。 使用 :not() 在菜单上应用/取消应用边框给body添加行高所有一切都垂直居中逗号分隔的列表使用负的 nth-child 选择项目对图标使用SVG优化显示文本对纯CSS滑块使用 max-height继承 box-sizing表格单元格等宽用Flexbox摆脱外边距的各种hack使用属性选择器用于空链接 使用 :not() 在菜单上应用/取转载 2015-10-20 14:50:42 · 311 阅读 · 0 评论