• 渐变banner


    <div class="bannerTop" style="z-index:-9;">
    </div>

    #indextype{
    display:none !important;
    }
    .bannerTop{
    100%;
    min-1920px;
    height:260px;
    background: linear-gradient(to right, #c04848, #480048);

    position: relative;
    animation: colorswitch 20s infinite;
    /* Firefox */
    -moz-animation: colorswitch 20s infinite;
    /* Safari and Chrome */
    -webkit-animation: colorswitch 20s infinite;
    /* Opera */
    -o-animation: colorswitch 20s infinite;
    }
    @keyframes colorswitch {
    0% {
    background: #0087C9
    }

    16% {
    background: #EF4A53
    }

    32% {
    background: #FFB463
    }

    49% {
    background: #33D5D4
    }

    65% {
    background: #254356
    }

    81% {
    background: #5B4097
    }

    100% {
    background: #0087C9
    }
    }

    /* Firefox */
    @-moz-keyframes colorswitch {
    0% {
    background: #0087C9
    }

    16% {
    background: #EF4A53
    }

    32% {
    background: #FFB463
    }

    49% {
    background: #33D5D4
    }

    65% {
    background: #254356
    }

    81% {
    background: #5B4097
    }

    100% {
    background: #0087C9
    }
    }

    /* Safari and Chrome */
    @-webkit-keyframes colorswitch {
    0% {
    background: #0087C9
    }

    16% {
    background: #EF4A53
    }

    32% {
    background: #FFB463
    }

    49% {
    background: #33D5D4
    }

    65% {
    background: #254356
    }

    81% {
    background: #5B4097
    }

    100% {
    background: #0087C9
    }
    }

    /* Opera */
    @-o-keyframes colorswitch {
    0% {
    background: #0087C9
    }

    16% {
    background: #EF4A53
    }

    32% {
    background: #FFB463
    }

    49% {
    background: #33D5D4
    }

    65% {
    background: #254356
    }

    81% {
    background: #5B4097
    }

    100% {
    background: #0087C9
    }
    }

  • 相关阅读:
    架构、框架、组件、插件浅谈理解
    JAVA : 关于高内聚与低耦合
    windows 使用VMWARE 安装mac os
    JAVA 多线程(6):等待、通知 (1)
    JAVA 多线程(5)
    Django 笔记(六)mysql增删改查
    CSS选择器
    ubuntu 安装配置 mysql
    Django 笔记(五)自定义标签 ~ 映射mysql
    Django 笔记(四)模板标签 ~ 自定义过滤器
  • 原文地址:https://www.cnblogs.com/wensx/p/12176356.html
Copyright © 2020-2023  润新知