📝 代码查看
1
查看次数
2025-11-06
创建时间
2025-11-06
最后更新
<div></div>
html, body {
width: 100%;
height: 100%;
display: flex;
}
div {
margin: auto;
position: relative;
width: 25vw;
height: 50vh;
background: url(https://www.cdsy.xyz/skin/cdsy/images/logo.png) no-repeat;
background-size: cover;
mask: linear-gradient(90deg, transparent, #000);
}
暂无JavaScript代码