css布局实现纸张堆叠带行背景效果代码
代码语言:html
所属分类:背景
代码描述:css布局实现纸张堆叠带行背景效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> body { background-image: linear-gradient(10deg, #ff4735, #f5b8d5); } .nav-bar { min-height: 5rem; width: 100%; background-color: rgba(245, 184, 213, 0.5); position: sticky; top: 0; z-index: 10; } .blokken { position: relative; background-color: #fff; width: calc(100vw - 10rem); min-height: calc(100vh - 10rem); box-shadow: -0.5rem 0.5rem 1rem rgba(0, 0, 0, 0.3); margin: 5rem; font-size: 2rem; background-image: linear-gradient(to bottom, #fff calc(1em - 1px), #ccc calc(1em - 1px), #ccc 1em, #fff 1.........完整代码请登录后点击上方下载按钮下载查看
网友评论0