mac finder布局动画效果
代码语言:html
所属分类:布局界面
代码描述:mac finder布局动画效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> @import url("https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap"); *, *:after, *:before { box-sizing: border-box; } :root { --size: 200; --height: 200; --width: calc(var(--height) * 1.14); --face-color-one: linear-gradient(0deg, #1982eb, #4dd3f5); --face-color-two: #ededed; --distance: 0; } body { display: -webkit-box; display: flex; min-height: 100vh; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; font-family: 'Roboto Mono', monospace; } .backdrop { height: 100vh; width: 100vw; background: #808080; position: fixed; -webkit-transition: background 0.25s ease, color 0.25s ease; transition: background 0.25s ease, color 0.25s ease; color: #a6a6a6; } img { height: calc(var(--height) * 1px); position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); opacity: 0.5; } h1 { margin: 0; righ.........完整代码请登录后点击上方下载按钮下载查看
网友评论0