Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize the Animation effect of search and wait by css3

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces css3 how to achieve search and wait animation effect, the article is very detailed, has a certain reference value, interested friends must read it!

* {

Margin:0

Padding:0

}

. load-icon {

Left:0

Right:0

Bottom:0

Top:0

Margin:auto

Display:flex

Justify-content:center

Align-items:center

Position:fixed

}

.load-icon > div {

Width:100px

Height:100px

Border-radius:50%

Border:8pxsolidtransparent

Border-left-color:rgba (35, 196, 81, and 1)

Animation:animate1slinearinfinite

}

.load-icon > span {

Position:absolute

Color:#fff

Text-shadow:1px3px5px#333

Width:80px

Height:80px

Border:8pxsolidtransparent

Overflow:hidden

Display:flex

Justify-content:center

Align-items:center

}

.load-icon > span > I {

Font-size:50px

Animation:animate13slinearinfinite

}

.load-icon > span > span {

Font-size:50px

Animation:shadow3slinearinfinite

Color:rgba (35, 196, 81, and 1)

Overflow:hidden

Position:absolute

Top:13px

}

@ keyframesanimate {

0% {transform:rotate (0deg); box-shadow:inset005pxrgba (35 dint 196pi 81)}

50% {box-shadow:inset005pxrgba (35, 196, 81, 1)}

100% {transform:rotate (360deg); box-shadow:inset005pxrgba (35pr 196pl 81)}

}

@ keyframesanimate1 {

0% {transform:translate3d (150% Person0);}

30% {transform:translate3d (0% focus 0);}

70% {transform:translate3d (0% focus 0);}

100% {transform:translate3d (- 150% Percience 0);}

}

@ keyframesshadow {

0% {transform:translate3d (150% Person0); height:0%}

30% {transform:translate3d (0% transform:translate3d 0); height:0%}

70% {transform:translate3d (0% transform:translate3d 0); height:100%}

100% {transform:translate3d (- 150% Person0); height:100%}

}

The above is all the contents of the article "how to search and wait for Animation effects in css3". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report