motionsites中文站 / 卡片 · Ordinary Mouse
卡片 · Ordinary Mouse
aadmin2026-09-19 发布组件0 阅读

卡片 · Ordinary Mouse

类型:组件 · 分类:卡片 · 收录:2026-09-19 · 源码:会员可见

[hidecontent type="vip1"]
<div class="one-div"></div>
<style>
/* From Uiverse.io by FWDJc - Tags: card, challenge, div, dvd */
.one-div {
  width: 230px;
  height: 50px;
  border-radius: 50%;
  position: relative;
  animation: bounce 5s infinite;
}

.one-div::before {
  content: 'DIV';
  position: absolute;
  display: block;
  left: 12%;
  bottom: 55%;
  color: green;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 6em;
  font-weight: 900;
  font-style: italic;
  animation: div-color-change 5s infinite;
}

.one-div::after {
  content: 'DIVISION';
  position: absolute;
  top: 27%;
  left: 18%;
  color: #212121;
  font-size: 1em;
  font-weight: 800;
  letter-spacing: 10px;
  z-index: 1;
}

@keyframes bounce {
  0% {
    background-color: red;
    transform: translateX(0) translateY(100px);
  }

  25% {
    background-color: blue;
    transform: translateX(100px) translateY(0);
  }

  55% {
    background-color: green;
    transform: translateX(0) translateY(-100px);
  }

  75% {
    background-color: yellow;
    transform: translateX(-100px) translateY(0);
  }

  100% {
    background-color: purple;
    transform: translateX(0) translateY(100px);
  }
}

@keyframes div-color-change {
  0% {
    color: red;
  }

  25% {
    color: blue;
  }

  55% {
    color: green;
  }

  75% {
    color: yellow;
  }

  100% {
    color: purple;
  }
}
</style>
[/hidecontent]
← 返回首页