css+js实现倾斜视觉差异效果代码
代码语言:html
所属分类:视觉差异
代码描述:css+js实现倾斜视觉差异效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!doctype html> <html> <head> <meta charset="utf-8"> <style> @import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800"); html, body { height: 100%; } body { align-items: center; background: #642B73; background: linear-gradient(to bottom, #C6426E, #642B73); font-family: 'Open Sans', sans; justify-content: center; -webkit-perspective: 1800px; perspective: 1800px; text-align: center; margin: 0 20px; } h1 { color: #3e3e42; font-size: 32px; font-weight: 800; letter-spacing: -1px; margin-bottom: 30px; -webkit-transform: translateZ(35px); transform: translateZ(35px); } h3 { color: #eb285d; font-size: 16px; margin-bottom: 6px; -webkit-transform: translateZ(25px); transform: translateZ(25px); } .cards { background: #fff; border-radius: 15px; box-shadow: 0px 10px 20px 20px rgba(0, 0, 0, 0.17); display: inline-block; padding: 30px 35px; -webkit-perspective: 1800px; perspective: 1800px; tex.........完整代码请登录后点击上方下载按钮下载查看
网友评论0