jquery实现选项卡切换效果代码
代码语言:html
所属分类:选项卡
代码描述:jquery实现选项卡切换效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
* {
margin: 0;
padding: 0;
}
body {
background: url('//repo.bfw.wiki/bfwrepo/image/631af4543707e.png') no-repeat center center fixed;
background-size: cover;
}
.wrapper {
margin: 100px auto;
width: 80%;
font-family: sans-serif;
color: #98927C;
font-size: 14px;
line-height: 24px;
max-width: 600px;
min-width: 340px;
overflow: hidden;
}
.tabs li {
list-style: none;
float: left;
width: 20%;
}
.tabs a {
display: block;
text-align: center;
text-decoration: none;
position: relative;
text-transform: uppercase;
color: #fff;
height: 70px;
line-height: 90px;
background: linear-gradient(165deg, transparent 29%, #98927C 30%).........完整代码请登录后点击上方下载按钮下载查看
网友评论0