
css使用技巧
css使用技巧
moguPeople
一个切图仔~
展开
-
转载:掘金头像的旋转(transform)
css 实现掘金个人主页的旋转头像 #pic:hover { transform: rotate(666turn); transition-property: all; transition-duration: 59s; transition-timing-function: cubic-bezier(.34,0,.84,1); transition-delay: 1s; } 首先给任意的元素加上这些css就可以进行旋转了。 查看了一下这些属性的意思,下面介绍一下转载 2020-09-23 09:46:53 · 386 阅读 · 0 评论 -
css background属性合在一起写background-size background-positon
background:no-repeat scroll 56px 78px / 69px 69px rgba(0, 0, 0, 0) url(’…’); background:no-repeat scroll 56px 78px(background-position)/(分割线) *69px 69px *(background-size ) rgba(0, 0, 0, 0); ...转载 2020-05-08 10:55:06 · 1246 阅读 · 0 评论 -
css绘制形状
上三角 #triangle-up{ width: 0px; height: 0px; color: white; text-align: center; border-left: 50px solid transparent; border-right: 50px solid transparent; border-bottom: 100px solid red; }...原创 2019-12-16 15:07:01 · 112 阅读 · 0 评论 -
CSS3手工彩虹
html <div class="caihong"></div> css .caihong { width: 200px; height: 200px; border-radius: 50%; box-shadow: 0 0 0 5px inset red, 0 0 0 10px inset orang...原创 2019-12-02 14:13:00 · 321 阅读 · 0 评论