![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
css
xklsky
这个作者很懒,什么都没留下…
展开
-
CSS3 弹性盒布局
<!DOCTYPE html> <html> <head lang="zh-CN"> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1">原创 2016-03-01 13:07:09 · 328 阅读 · 0 评论 -
自定义 <input type="file" /> 样式
以下是对bootstrap的file的包装,思路供参考。input id="lefile" type="file" style="display:none"> <div class="input-append"> <input id="photoCover" class="input-large" type="text"> <a class="btn" onclick="$('input原创 2016-03-14 16:53:08 · 730 阅读 · 0 评论 -
图片垂直居中
box-orient 规定框的子元素是否应水平或垂直排列。 box-pack 规定水平框中的水平位置或者垂直框中的垂直位置。 box-align 规定如何对齐框的子元素。display: -webkit-box; //CSS3盒模型 -webkit-box-orient: horizontal; //子元素是水平排列 -webkit-原创 2016-02-02 10:07:53 · 478 阅读 · 0 评论 -
详解CSS中:nth-child的用法
:nth-child(2)选取第几个标签,“2可以是你想要的数字”.demo01 li:nth-child(2){background:#090}:nth-child(n+4)选取大于等于4标签,“n”表示从整数,下同.demo01 li:nth-child(n+4){background:#090}:nth-child(-n+4)选取小于等于4标签demo01 li:nth-child(-n+4)转载 2016-05-20 15:09:34 · 755 阅读 · 1 评论