炫酷分页动画效果

代码语言:html

所属分类:表单美化

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


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">

<style>
body {
  align-items: center;
  background-color: #3a0088;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  margin: 0;
  overflow: hidden;
}
.container {
  display: flex;
  justify-content: center;
  margin-top: 100px;
  position: relative;
  width: 260px;
}
.button {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  height: 40px;
  opacity: 0.8;
  width: 40px;
}
.button:first-child {
  margin-right: 20px;
}
.button:hover {
  opacity: 1;
}
.button:active {
  transform: scale(0.9);
}
.dot {
  fill: #fff;
  opacity: 0.5;
}
.pagination {
  position: relative;
}
.path {
  stroke: #fff;
  stroke-dasharray: 0 100;
  stroke-dashoffset: 2px;
}
.path1 {
  stroke-dashoffset: -1px;
}
.step0-left-initial .path1 {
  stroke-dasharray: 94 100;
  stroke-dashoffset:.........完整代码请登录后点击上方下载按钮下载查看

网友评论0