1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mtnlmm-ocdeer

Клонировать/Скачать
OneClass.md 4.4 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
gitlife-traslator Отправлено 30.11.2024 01:16 3f1dc22

1.0.1

  1. Плавающий эффект zwyFly:

    • Одноклассный селектор, прямая ссылка на класс «zwyFly».
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <link rel="stylesheet" type="text/css" href="css/oneClass.css">
    </head>
    <body>
         <div class="bubble zwyFly">气泡</div>
    </body>
    <style>
        .bubble{
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #007AFF;
            color: white;
            text-align: center;
            line-height: 60px;
        }
    </style>
</html>

1.0.2

  1. Эффект пузырька при нажатии zwyHover2:

    • Одноклассный селектор, прямая ссылка на класс «zwyHover2».
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <link rel="stylesheet" type="text/css" href="css/oneClass.css">
    </head>
    <body>
         <!-- count:Number || infinite; -->
        <div class="bubble zwyHover3" style="--count:infinite;">气泡</div>
    </body>
    <style>
        .bubble{
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #007AFF;
            color: white;
            text-align: center;
            line-height: 60px;
        }
    </style>
</html>

1.0.3

  1. Эффект встряхивания zwyShake:
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <link rel="stylesheet" type="text/css" href="css/oneClass.css">
    </head>
    <body>
      <!-- transform-origin: top;top:上基准摇晃 bottom:下基准摇晃 -->
      <img class="zwyShake" style="transform-origin: center bottom;width: 40px;height: 40px;" src="static/logo.png">
    </body>
    <style>

    </style>
</html>

1.0.4

  1. Эффект уменьшения при нажатии zwyHover1:
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <link rel="stylesheet" type="text/css" href="css/oneClass.css">
    </head>
    <body>
       <!-- count:Number || infinite -->
       <div class="btn zwyHover1" style="--count:infinite;">按钮</div>
    </body>
    <style>
         .btn{  
            min-width: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 20px;
            height: 40px;
            border-radius: 40px;
            color: white;
            background-color: #007AFF;
          }
    </style>
</html>

1.0.5

  1. Добавление чёрной волнистой линии zwyHot:
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <link rel="stylesheet" type="text/css" href="css/oneClass.css">
    </head>
    <body>
        <!-- color:rgba(0, 0, 0, 0.15); 黑色    color:rgba(255, 255, 255, 0.6); 白色 -->
        <div class="bubble zwyHot" style="--color:rgba(0, 0, 0, 0.15);"></div>
    </body>
    <style>
            .bubble{
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #007AFF;
            color: white;
            text-align: center;
            line-height: 60px;
        }
    </style>
</html>

1.0.6

  1. Стрелка zwyChevron:
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <link rel="stylesheet" type="text/css" href="css/oneClass.css">
    </head>
    <body>
        <div class="chevronBox" style="transform: rotate(0deg);">
            <div style="animation-delay:0s" class="zwyChevron" ></div>
            <div style="animation-delay:1s" class="zwyChevron" ></div>
            <div style="animation-delay:2s" class="zwyChevron" ></div>
            <!-- <div v-for="(item,index) in 3" :style="{'animation-delay':`${index}s`}" class="zwyChevron" :key="index" ></div> -->
       </div>
    </body>
    <style>
    .chevronBox{
        width: 80px;
        height: 80px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }
    </style>
</html>

1.0.7

  1. Прямой эфир zwyLive:
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <link rel="stylesheet" type="text/css"

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mtnlmm-ocdeer.git
git@api.gitlife.ru:oschina-mirror/mtnlmm-ocdeer.git
oschina-mirror
mtnlmm-ocdeer
mtnlmm-ocdeer
master