css+svg实现炫酷带进度上传卡片效果代码
代码语言:html
所属分类:上传
代码描述:css+svg实现炫酷带进度上传卡片效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
min-height: 100vh;
min-height: 100svh;
background: #d2d4e1;
font-family: "Poppins", sans-serif;
font-weight: 400;
position: relative;
overflow-x: hidden;
display: grid;
place-items: center;
}
a {
text-decoration: none;
display: inline-block;
}
section {
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
max-width: 50em;
margin-inline: auto;
gap: 3.25rem;
position: relative;
z-index: 10;
align-items: center;
padding: 5em 0;
}
section .card {
position: relative;
z-index: 555;
max-width: 38rem;
min-height: 20rem;
width: 90%;
display: grid;
place-content: center;
place-items: center;
text-align: center;
position: relative;
box-shadow: 0.063em 0.75em 1.563em rgba(0, 0, 0, 0.78);
border-radius: 1rem;
}
@media screen and (min-width: 33.75rem) {
section .card {
min-height: 15rem;
}
}
section .card-header {
position: absolute;
top: 0;
left: 0;
right: 0;
width: 100%;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 0.8em 0.8em 0em 1.5em;
}
section .card-header .close {
color: #d9d9d9;
width: 1.5rem;
cursor: pointer;
}
section .card-body {
width: 100%;
padding: 0.7em 2em 0.5em 2em;
text-align: left;
}
@media screen and (min-width: 33.75rem) {
section .card-body {
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0