783
个编辑
NierPod042(讨论 | 贡献) (撤销NierPod042(讨论)的版本8039) |
无编辑摘要 |
||
第1,332行: | 第1,332行: | ||
color: white; | color: white; | ||
} | } | ||
/*分页tabs*/ | |||
.tabs-container { | |||
width: 100%; | |||
margin-bottom:20px; | |||
} | |||
.tabs-pages { | |||
display: flex; | |||
list-style:none; | |||
background-color:#6da1ff; | |||
margin:0px | |||
} | |||
.tab:focus, | |||
.tab:hover { | |||
cursor: pointer; | |||
} | |||
.tab { | |||
padding: 0.5em 1em; | |||
color: white; | |||
font-size:16px; | |||
} | |||
.tab:hover { | |||
background-color: #b1cdff; | |||
} | |||
.tab.active { | |||
color:black; | |||
background-color: #b1cdff; | |||
} | |||
.tabs-contents { | |||
display: block; | |||
width: 100%; | |||
height: auto; | |||
position: relative; | |||
} | |||
.tab-c { | |||
position: absolute; | |||
opacity: 0; | |||
width: 100%; | |||
height: auto; | |||
color: black; | |||
transition: opacity .5s; | |||
background-color:#b1cdff; | |||
} | |||
.tab-c.active { | |||
opacity: 1; | |||
} | |||
.inner-content { | |||
padding: .5em; | |||
} | |||
/*分页tabs结束*/ |