jquery实现炫酷带过渡动画效果的选择框效果代码
代码语言:html
所属分类:表单美化
代码描述:jquery实现炫酷带过渡动画效果的选择框效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> @import url("https://fonts.googleapis.com/css?family=Muli:300,400,700,900"); .btn-wrap { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } html { display: flex; justify-content: center; align-items: center; background: #f1f3f9; height: 100vh; font-family: "Muli", Arial, sans-serif; } #dribbble { position: fixed; display: block; right: 70px; bottom: 16px; } #dribbble svg { display: block; width: 76px; height: 24px; fill: rgba(146, 156, 208, 0.8); } #twitter { position: fixed; display: block; right: 25px; bottom: 11px; } #twitter svg { width: 24px; height: 24px; fill: rgba(146, 156, 208, 0.8); } #hicon { position: fixed; display: block; left: 25px; bottom: -42px; } #hicon svg { width: 78px; height: 78px; fill: rgba(146, 156, 208, 0.8); } .cnt, .btn-cnt { display: flex; justify-content: center; align-items: center; } .lock-on, .cnt, .btn-wrap, .concept-wrap { width: 200px; height: 70px; } .concept-wrap { position: relative; cursor: pointer; } .btn-wrap { cursor: pointer; position: absolute; background: #1462ff; border-radius: 12px; box-shadow: 0 6px 30px -10px #4a74c9; overflow: hidden; transform: translateX(0); } .btn-cnt { position: absolute; top: 0; right: 0; flex-direction: row; height: 70px; width: 800px; z-index: 9; } .cnt { justify-content: space-around; box-sizing: border-box; padding: 0 25px; } .cnt .text { text-align: left; font-size: 1.4em; margin-right: auto; color: #fff; } .cnt .icon { margin-top: 3px; color: #fff; } .tap { width: 140px; height: 140px; position: absolute; background: transparent; opacity: 0.4; top: calc(50% - 69px); right: -32px; border-radius: 50%; z-index: 4; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0