css实现发光圈圈旋转动画效果代码
代码语言:html
所属分类:动画
代码描述:css实现发光圈圈旋转动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> body { margin:0; padding:0; display:flex; justify-content:center; align-items:center; height:100vh; background:#f1f1f1; } .loader { position:relative; width:350px; height:350px; border-radius:50%; background:linear-gradient(#f07e6e,#84cdfa,#5ad1cd); animation:animate 4.2s linear infinite; } @keyframes animate { 0% { transform:rotate(0deg); } 100% { transform:rotate(360deg); } }.loader span { position:absolute; width:100%; heigh.........完整代码请登录后点击上方下载按钮下载查看
网友评论0