css实现带线性梯度的格子布背景效果代码
代码语言:html
所属分类:背景
代码描述:css实现带线性梯度的格子布背景效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> body { height: 100vh; display: flex; justify-content: space-around; align-items: center; background-color: #f2e6ff; } .gingham, .gingham::before, .gingham::after { height: 20vw; width: 20vw; display: flex; content: ""; position: absolute; border-radius: 50%; box-shadow: 0 0 0 10px white; } .gingham { background-color: #fff3bf; background-image: repeating-linear-gradient(45deg, #ffffff66 0 8%, transparent 8% 14%), repeat.........完整代码请登录后点击上方下载按钮下载查看
网友评论0