国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發 > CSS > 正文

css3實現wifi信號逐漸增強效果實例

2024-07-11 08:58:30
字體:
來源:轉載
供稿:網友

整理文檔,搜刮出一個css3實現wifi信號逐漸增強效果實例的代碼,稍微整理精簡一下做下分享。

效果圖

下面是實現代碼:

<!DOCTYPE html><meta charset="utf-8"><html><head>    <title>wifi信號</title>    <style type="text/css">        *{            margin: 0;            padding: 0;        }        .box {            width: 240px;            height: 240px;            box-sizing: border-box;            position: relative;            margin: 100px auto;        }        .wifi-symbol {            width: 200px;            height: 200px;            margin-left: 18px;            box-sizing: border-box;            overflow: hidden;            transform: rotate(45deg);        }        .wifi-circle {            border: 10px solid #ccc;            border-radius: 50%;            position: absolute;        }        .first {            width: 260px;            height: 260px;            top: 0;            left: 0;            animation: run1 4s linear infinite;        }        @keyframes run1 {            0% {                border-color: #ccc;            }            25% {                border-color: #ccc;            }            50% {                border-color: #ccc;            }            75% {                border-color: #ccc;            }            100% {                border-color: #97a8e6;            }        }        .second {            width: 200px;            height: 200px;            top: 60px;            left: 60px;            animation: run2 4s linear infinite;        }        @keyframes run2 {            0% {                border-color: #ccc;            }            25% {                border-color: #ccc;            }            50% {                border-color: #ccc;            }            75% {                border-color: #97a8e6;            }            100% {                border-color: #ccc;            }        }        .third {            width: 140px;            height: 140px;            top: 120px;            left: 120px;            animation: run3 4s linear infinite;        }        @keyframes run3 {            0% {                border-color: #ccc;            }            25% {                border-color: #ccc;            }            50% {                border-color: #97a8e6;            }            75% {                border-color: #ccc;            }            100% {                border-color: #ccc;            }        }        .fourth {            width: 20px;            height: 20px;            background: #ccc;            top: 180px;            left: 180px;            animation: run4 4s linear infinite;        }        @keyframes run4 {            0% {                background: #ccc;                border-color: #ccc;            }            25% {                background: #97a8e6;                border-color: #97a8e6;            }            50% {                background: #ccc;                border-color: #ccc;            }            75% {                background: #ccc;                border-color: #ccc;            }            100% {                background: #ccc;                border-color: #ccc;            }        }    </style></head><body>    <div class="box">        <div class="wifi-symbol">          <div class="wifi-circle first"></div>          <div class="wifi-circle second"></div>          <div class="wifi-circle third"></div>          <div class="wifi-circle fourth">        </div>    </div></body></html>

以上就是本文的全部內容,希望對大家的學習有所幫助,也希望大家多多支持武林網。

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 特克斯县| 昔阳县| 封开县| 宁都县| 新源县| 邛崃市| 平果县| 佛教| 湛江市| 平凉市| 陇南市| 邯郸县| 顺义区| 磴口县| 密云县| 永州市| 寿光市| 黄冈市| 惠来县| 河南省| 舞钢市| 佛山市| 自贡市| 上栗县| 大姚县| 阿荣旗| 定兴县| 峨山| 山东| 革吉县| 克拉玛依市| 长治市| 桓台县| 海安县| 南和县| 威海市| 海南省| 镇巴县| 中超| 定日县| 海南省|