css实现多彩花瓣呼吸loading加载动画效果代码
代码语言:html
所属分类:加载滚动
代码描述:css实现多彩花瓣呼吸loading加载动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> * { margin: 0; padding: 0; } body { /* background-color: #f5f6fa; */ /* background: linear-gradient(45deg,#eac9c0,#dab2d3, #9edae3,#65c4d8); */ background-color: #ffffe0; } /* Main Container Css Start */ .main-container { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100vh; } /* Main Container Css Ends */ /* Loading Css Start */ .loading { width: 20px; height: 20px; transform: rotate(70deg); } .loading::before, .loading::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100px; height: 100px; border-radius: 50%; animation: loading 2s linear infinite; } .loading::bef.........完整代码请登录后点击上方下载按钮下载查看
网友评论0