css+js实现科技风格表格分页悬浮滚动翻页效果代码

代码语言:html

所属分类:表格

代码描述:css+js实现科技风格表格分页悬浮滚动翻页效果代码,支持鼠标滚轮滚动翻页,支持鼠标悬浮动画,自带总数进度条。

代码标签: css js 科技 风格 表格 分页 悬浮 滚动 翻页

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

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

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

<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.6.4.0.css">
  
<style>
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900;1000&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
body {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: linear-gradient(#00121B, #000102);
  overflow: hidden;
  font-family: "Cairo", sans-serif;
}

.d-flex {
  display: flex;
}

.row {
  flex-direction: row;
}

.flex-fill {
  flex: 1 1 auto;
  width: 100%;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-start {
  justify-content: flex-start;
}

.justify-content-end {
  justify-content: flex-end;
}

.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: flex-start;
}

.align-items-end {
  align-items: flex-end;
}

@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0turn;
}
@keyframes conic-rotate {
  to {
    --angle: 1turn;
  }
}
.table-container {
  position: relative;
  display: flex;
  width: 85vw;
  height: calc(((var(--data-limit) + 1) * 2rem) + 10rem);
  transform-style: preserve-3d;
  box-shadow: inset 0 -0.5rem 1rem rgba(0, 18, 27, 0.5), inset 0 0 1rem rgba(127, 255, 212, 0.3);
  border: 2px solid rgba(127, 255, 212, 0.5);
  border-radius: 1rem;
  flex-direction: column;
}
.table-container::before {
  position: absolute;
  display: flex;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: conic-gradient(from var(--angle), #80FF80, rgba(127, 255, 212, 0.5), #80FF80, royalblu.........完整代码请登录后点击上方下载按钮下载查看

网友评论0