CSS 下载进度条

    <template>
    <view  class='btn'>下载中</view>
    </template>

    <script>

    </script>

    <style>
    /* 设置整个页面的样式 */
    body {
      width: 100vw;  /* 页面宽度为视口宽度 */
      background: #000000;  /* 背景颜色为白色 */
      display: flex;  /* 使用 flex 布局 */
      justify-content: center;  /* 水平居中 */
      align-items: center;  /* 垂直居中 */
      margin-top: 300px;  /* 顶部外边距为 300px */
    }
    /* 按钮的样式 */
    .btn {
      background: transparent;  /* 背景透明 */
      width: 200px;  /* 宽度为 200px */
      position: relative;  /* 定位为相对定位 */
      padding: 15px;  /* 内边距为 15px */
      color: #1ECD97;  /* 文字颜色为 #1ECD97 */
      cursor: pointer;  /* 鼠标悬停样式为手型 */
      text-align: center;  /* 文字居中 */
      letter-spacing: 3px;  /* 字母间距为 3px */
      transition: all 500ms cubic-bezier(0.6, -0.28, 0.7

相关推荐

  1. css系列:进度

    2024-01-16 19:20:02       31 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-01-16 19:20:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-01-16 19:20:02       100 阅读
  3. 在Django里面运行非项目文件

    2024-01-16 19:20:02       82 阅读
  4. Python语言-面向对象

    2024-01-16 19:20:02       91 阅读

热门阅读

  1. Linux软连接

    2024-01-16 19:20:02       50 阅读
  2. shardingsphere 出现 Cannot support database type ‘MySQL‘

    2024-01-16 19:20:02       55 阅读
  3. 构建 aarch64 以及 riscv64 交叉编译工具链(裸机)

    2024-01-16 19:20:02       52 阅读
  4. Python中loguru的配置和使用

    2024-01-16 19:20:02       52 阅读
  5. [HarmonyOS]第一课:运行HelloWorld

    2024-01-16 19:20:02       54 阅读
  6. 《设计模式的艺术》笔记 - 建造者模式

    2024-01-16 19:20:02       38 阅读
  7. GBASE南大通用ExecuteScalar 方法

    2024-01-16 19:20:02       61 阅读
  8. 聊聊PowerJob的QueryConvertUtils

    2024-01-16 19:20:02       47 阅读
  9. liunx常用命令

    2024-01-16 19:20:02       47 阅读
  10. fs 模块

    2024-01-16 19:20:02       49 阅读
  11. 重装系统备份及初始化笔记

    2024-01-16 19:20:02       56 阅读