![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
css
Sunny_can
这个作者很懒,什么都没留下…
展开
-
关于css中的一些小技巧
1、垂直居中:vertical-align:middle; 2、渐变:background: linear-gradient(to bottom,#5fcaff,#ddf3ff); 3、居中:position:absolute; left:50%; //top:50% transform:translateY(-50%); //translat原创 2016-11-06 13:16:24 · 249 阅读 · 0 评论 -
css中央菜单实例
*{ margin: 0; padding: 0; list-style: none; } ul{ width: 1120px; margin: 100px auto; } li{ float: left; margin: 0 5px; } li a{ color: #fff; text-decoration: none; display: block; widt原创 2016-11-23 15:43:01 · 263 阅读 · 0 评论 -
css头像翻转实例
*{ margin: 0; padding: 0; } .box{ width: 200px; height: 200px; border-radius: 50%; margin: 100px auto; position: relative; } .box div{ width: 100%; height: 100%; left: 0; top: 0; posit原创 2016-11-23 15:43:50 · 614 阅读 · 0 评论