css布局实现落日余辉动画效果代码
代码语言:html
所属分类:动画
代码描述:css布局实现落日余辉动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> body { background-color: black; width: 50em; height: 35em; display: flex; align-items: center; justify-content: center; margin: 0 auto; } .picture { background: radial-gradient(circle, orange, brown); position: absolute; overflow: hidden; border-radius: 50px; z-index: 2; width: 280px; height: 280px; display: flex; align-items: center; justify-content: center; } .picture::before, .picture::after { background-color: rgba(102, 170, 204, 0.8); border-radius: 30%; animation: sea 10s linea.........完整代码请登录后点击上方下载按钮下载查看
网友评论0