jquery星球介绍app点击交互效果
代码语言:html
所属分类:布局界面
代码描述:jquery星球介绍app点击交互效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> @import "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600"; *, *::before, *::after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } a { color: #FFF; text-decoration: none; } html, body { height: 100%; width: 100%; } body { padding: 0px; margin: 0; font-family: "Source Sans Pro", sans-serif; background: #150633; background: -webkit-linear-gradient(90deg, #150633, #1e094a); background: linear-gradient(90deg, #150633, #1e094a); -webkit-font-smoothing: antialiased; } .flex { min-height: 100vh; display: flex; align-items: center; justify-content: center; } .app { background: #122E91; background: -webkit-linear-gradient(0deg, #122E91, #2F54C9); background: linear-gradient(0deg, #122E91, #2F54C9); width: 370px; text-align: center; overflow: hidden; height: 650px; position: relative; box-shadow: 0 19px 48px rgba(0, 0, 0, 0.22), 0 15px 32px rgba(0, 0, 0, 0.15); } .app .title { font-weight: 600; font-size: 14px; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); position: relative; z-index: 9999; } .app .apptext { position: absolute; bottom: 30px; padding: 0px 30px; text-align: left; } .app .apptext .mercury, .app .apptext .jupiter, .app .apptext .uranus { display: none; } .app .apptext h2 { color: #FFF; margin-bottom: 5px; } .app .apptext p { font-weight: 300; color: rgba(255, 255, 255, 0.8); } .app svg { min-width: 600px; position: absolute; top: 0px; left: -80px; } .app svg #planetone, .app svg #planettwo, .app svg #planetthree { -webkit-transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1); -moz-transi.........完整代码请登录后点击上方下载按钮下载查看
网友评论0