/* 隐藏所有标签内容 */
.mcPestanya {
display: none;
}
/* 默认显示第一个标签内容 */
.mcPestanyaActive {
display: block;
}
/* 当标签内容被锚点选择时,显示对应的内容 */
.mcPestanya:target {
display: block;
}
/* 标签按钮样式 */
.mcBoto {
cursor: pointer;
padding: 10px;
margin: 5px;
border: 1px solid #ccc;
background-color: #f9f9f9;
text-align: center;
display: inline-block;
text-decoration: none;
color: #7050a0;
}
/* 选中标签的样式 */
.mcBotoSel {
font-weight: bold;
background-color: #9070c0;
color: white;
border: none;
text-decoration: none;
}
.mcBoto:hover {
background-color: #d0b0ff;
text-decoration: none;
}
/* 内容容器样式 */
.mcContingut {
margin-top: 10px;
padding: 10px;
border: 1px solid #ccc;
background-color: #fff;
}