美文网首页
呼吸动效

呼吸动效

作者: 小哼唧麻 | 来源:发表于2021-07-12 15:31 被阅读0次
    .breathe {
                border: 1px solid #2b92d4;
                border-radius: 50%;
                box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
                overflow: hidden;
                animation-timing-function: ease-in-out;
                animation-name: breathe;
                animation-duration: 1500ms;
                animation-iteration-count: infinite;
                animation-direction: alternate;
            }
    
            @keyframes breathe {
                0% {
                    opacity: .8;
                    box-shadow: 0 1px 2px rgba(0, 147, 223, 0.4), 0 1px 1px rgba(0, 147, 223, 0.1) inset;
                }
    
                100% {
                    opacity: 1;
                    border: 1px solid rgba(59, 235, 235, 0.7);
                    box-shadow: 0 1px 20px #0093df, 0 1px 20px #0093df inset;
                }
            }
    

    相关文章

      网友评论

          本文标题:呼吸动效

          本文链接:https://www.haomeiwen.com/subject/nworpltx.html