css绘制小动物艺术nft效果代码
代码语言:html
所属分类:布局界面
代码描述:css绘制小动物艺术nft效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
}
.body,
.body::before,
.body::after,
.legs,
.legs::before,
.neck,
.head,
.head::before,
.head::after {
position: absolute;
}
.body::before,
.body::after,
.legs::before,
.head::before,
.head::after {
content: '';
}
.section-art {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.art-container {
height: 400px;
width: 400px;
position: relative;
}
.section-art .body {
top: 50%;
transform: translateY(-50%);
height: 120px;
width: 240px;
border-radius: 0 0 120px 120px;
background-image: linear-gradient(to right, #a8c4db, #a8c4db 50%, #c3d3e4 50%, #c.........完整代码请登录后点击上方下载按钮下载查看
网友评论0