css实现多彩黑洞效果
代码语言:html
所属分类:布局界面
代码描述:css实现多彩黑洞效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> body { min-height: 100vh; display: flex; align-items: center; justify-content: center; flex-direction: column; background-color: #2A3137; } * { font-family: "Montserrat", sans-serif !important; box-sizing: content-box; } .outer-circle { position: relative; height: 200px; width: 200px; background: linear-gradient(#14ffe9, #ffeb3b, #ff00e0); border-radius: 50%; animation: rotate 1.5s linear infinite; } .outer-circle span { position: absolute; height: 200px; width: 200px; background: linear-gradient(#14ffe9, #ffeb3b, #ff00e0); border-radius: 50%; } span:nth-child(1) {.........完整代码请登录后点击上方下载按钮下载查看
网友评论0