css实现三维复杂框架镶嵌图案背景效果代码
代码语言:html
所属分类:背景
代码描述:css实现三维复杂框架镶嵌图案背景效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> html { --sz: 14px; --c1: #97c3d7; --c2: #789cad; --c3: #607D8B; --c4: #445a65; --ts: 50% / calc(var(--sz)* 20) calc(var(--sz)* 20); margin: 0; padding: 0; height: 100vh; overflow: hidden; background: conic-gradient(from -45deg at 8.5% 8.5%, var(--c1) 0 12.5%, #fff0 0 100%) var(--ts), conic-gradient(from 270deg at 8.25% 50%, var(--c4) 0 25%, #fff0 0 100%) var(--ts), conic-gradient(from 270deg at 50% 8.35%, var(--c1) 0 25%, #fff0 0 100%) var(--ts), conic-gradient(from 270deg at 16.5% 33.5%, var(--c3) 0 25%, #fff0 0 100%) var(--ts), conic-gradient(from 270deg at 33.5% 16.65%, var(--c3) 0 25%, #fff0 0 100%) var(--ts), conic-gradient(from 270deg at 33.25% 33.25%, var(--c4) 0 12.5%, var(--c1) 0 25%, #fff0 0 100%) var(--ts), conic-gradient(from 0deg at 41.85% 8.25%, #fff0 0 225deg, var(--c3) 0 75%, #fff0 0 100%) var(--ts), conic-gradient(from -135deg at 8.45% 91.75%, var(--c2) 0 25%, #fff0 0 100%) var(--ts), conic-gradient(from -180deg at 42.45% 91.75%, var(--c3) 0 25%, #fff0 0 100%) var(--ts), conic-gradient(from -180deg at 8.45% 83%, var(--c2) 0 25%, #fff0 0 100%) var(--ts), conic-gradient(from -180deg at 33.45% 91.75%, var(--c4) 0 25%, #fff0 0 100%) var(--ts), conic-gradient(from -180deg at 33.45% 83.3%, var(--c1) 0 25%, #fff0 0 100%) var(--ts), conic-gradient(from -180deg at 8.45% 57.9%, var(--c2) 0 37.5%, #fff0 0 100%) var(--ts), conic-gradient(from -180deg at 17.35% 67%, var(--c1) 0 37.5%, #fff0 0 100%) var(--ts), conic-gradient(from 180deg at 33.25% 67%, var(--c3) 0 12.5%, var(--c2) 0 25%, #fff0 0 100%) var(--ts), conic-gradient(from 0deg at 42% 91.8%, #fff0 0 75%, var(--c1) 0 87.5%, #fff0 0 100%) var(--ts), conic-gradient(from 90deg at 91.75% 91.5%, var(--c1) 0 12.5%, var(--c4) 0 25%, #fff0 0 100%) var(--ts), c.........完整代码请登录后点击上方下载按钮下载查看
网友评论0