svg+TweenMax实现简洁多文件带进度上传ui效果代码

代码语言:html

所属分类:上传

代码描述:svg+TweenMax实现简洁多文件带进度上传ui效果代码

代码标签: svg TweenMax 简洁 多文件 进度 上传 ui

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">

  
  
  
<style>
body {
  margin: 0;
  background-color: #f3f6fa;
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica,
    Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
  font-synthesis: none;
  -moz-font-feature-settings: "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  flex-direction: column;
}

.upload-container {
  width: 360px;
  height: 480px;
  border-radius: 16px;
  background-color: white;
  box-shadow: -70px 90px 102px #e2e7ed;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 24px 20px;
  border-bottom: 1px solid #f3f6fa;
}

.nav-h {
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  color: #2e3640;
}

#refresh-all {
  width: 24px;
  height: 24px;
  cursor: pointer;
  stroke: #e1e6ed;
  opacity: 0;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.19, 1, 0.1, 1.2);
}

#refresh-all:hover {
  stroke: #a5afbc;
}

.refresh1.refresh2.refresh3 {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: rotate(-360deg);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.1, 1.2);
}

.upload-items {
  height: 72px;
  padding: 0 24px 0 24px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  opacity: 0;
  margin-top: 4px;
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.upload-inf-container {
  display: flex;
  flex-direction: column;
  width: calc(100% - 66px);
  margin-left: 20px;
}

.upload-inf-icon {
  width: 46px;
  height: 46px;
}

.upload-operation-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 4px 0;
}

.upload-inf-h {
  font-weight: 500;
  font-size: 16px;
  color: #2e3640;
  letter-spacing: 0.03em;
}

.upload-operation {
  display: flex;
}

.upload {
  position: relative;
  min-height: 300px;
}

.upload-operation-icon {
  width: 24px;
  height: 24px;
  margin-left: 19px;
  cursor: pointer;
  stroke: #e1e6ed;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  transition: stroke 0.3s;
}

.upload-operation-icon:hover {
  stroke: #b6c0cd !important;
}

.upload-operat.........完整代码请登录后点击上方下载按钮下载查看

网友评论0