html图片倾斜标签,CSS3信息卡片左上角的倾斜标签

更新时间:2023-07-25 13:31:02 阅读: 评论:0

html图⽚倾斜标签,CSS3信息卡⽚左上⾓的倾斜标签CSS
nut语⾔:
nurs
CSSSCSS
确定
.new-item-badge {
position: absolute;
to planbackground: #92b7bd;
z-index: 999;
节拍时间
border-radius: 3px;to be continue
color: #fff;
font-size: 70%;
padding: 2px 4px 0;
top: -17px;
left: -10px;
好看的英文电影line-height: 1.4;
-ms-transform: rotate(-7deg);
-webkit-transform: rotate(-7deg);
transform: rotate(-7deg);
-webkit-transition: 0 0.1s ea-in;
-moz-transition: 0 0.1s ea-in;
-o-transition: 0 0.1s ea-in;
transition: transform 0.1s ea-in;
/
* Most of this code is necessary to style and position the badge. */
}
li {
/* This is also necessary to position it. */
position: relative;
margin: 30px;
list-style: none;
}
li:hover .new-item-badge {
transform: rotate(-14deg);
-ms-transform: rotate(-14deg);
-
webkit-transform: rotate(-14deg);
/* This combined with the transition properties above rotates the badge on hover. */ }
body {
background: #f7f7f7;
font-family: sans-rif;
text-transform: upperca;
}
li a {
color: #333;
discbackground: #fff;
bbc听力下载
padding: 5px 10px;
border-radius: 3px;
box-shadow: 0 1px 2px #ddd;turn over
text-decoration: none;
}pad

本文发布于:2023-07-25 13:31:02,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/90/188335.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:标签   倾斜   节拍
相关文章
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图