单个div+css实现字母s艺术效果代码
代码语言:html
所属分类:布局界面
代码描述:单个div+css实现字母s艺术效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> body { margin: 0; padding: 0; width: 100vw; height: 100vh; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #101010; } .content { width: 50vmin; height: 75vmin; position: relative; --c1: #0000; --c2: #fff; } .content:before, .content:after { content: ""; width: 50vmin; height: 50vmin; background: conic-gradient(from 235deg at 50% 50%, #0000 0%, #101010 38% 59.65%, #fff0 0 100%), repeating-radial-gradient(var(--c.........完整代码请登录后点击上方下载按钮下载查看
网友评论0