jquery实现炫酷手机底部导航条菜单效果代码
代码语言:html
所属分类:菜单导航
代码描述:jquery实现炫酷手机底部导航条菜单效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/material-icons.min.css"> <style> * { box-sizing: border-box; margin: 0; padding: 0; } body { } .snap { width: 350px; height: 350px; background: #E85D5E; border-radius: 0 0 30px 30px; display: -webkit-box; display: -ms-flexbox; display: flex; overflow: hidden; box-shadow: 0 10px 90px -2px rgba(0, 0, 0, 0.3); position: relative; margin: 50px auto; } .snap .tab-panel { width: 100%; height: 60px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -ms-flex-item-align: end; align-self: flex-end; line-height: 70px; text-align: center; color: #fff; position: relative; z-index: 100; } .snap .tab-panel .tab { -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; height: 60px; cursor: pointer; } .snap .tab-panel .tab:nth-child(2) { position: relative; } .snap .tab-panel .tab:nth-child(2) .camera { content: ''; width: 60px; height: 60px; position: absolute; top: -60px; left: 25%; -webkit-transform: translate(, ); transform: translate(, ); z-index: 10; border: 7px solid #fff; border-radius: 50%; } .snap .active { width: 60px; height: 5px; background: #fff; position: absolute; left: 50%; bottom: 0; -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0); border-radius: 30px 30px 0 0; z-index: 100; } .snap .yellow { width: 100%; height: 100%; background: #ED994D; position: absolute; top: 0; right: -100%; -webkit-transform: translate(, ); transform: translate(, ); } .snap .blue { width: 100%; height: 100%; background: #24CEC2; position: absolute; top: 0; left: -100%; -webkit-transform: translate(, ); transform: translate(, ); } a { text-decoration: none; color: #24CEC2; position: absolute; right: 2vh; bottom: 2vh; -webkit-transform: translate(, ); transform: translate(, ); -webkit-animation: ls 1s ease.........完整代码请登录后点击上方下载按钮下载查看
网友评论0