<style scoped="scoped">
.tab_main {
width: 850px;
margin: 0 auto;
background-image: url('http://phonetalk2.cafe24.com/web/img/gift_title.jpg');
}
.tab_main section {
display: none;
padding: 0;
background: #404237;
}
/*라디오버튼 숨김*/
.tab_main input {
display: none;
}
.tab_main label {
display: inline-block;
margin: 0;
width: 13.76%;
padding: 10px 10px;
font-weight: 600;
text-align: center;
color: #fcec27;
background: #c39933;
border-radius: 10px 10px 0 0;
font-size: 23px;
}
.tab_main label:hover {
color: #404237;
cursor: pointer;
}
/*input 클릭시, label 스타일*/
.tab_main input:checked+label {
color: #fcec27;
background: #404237;
border-radius: 10px 10px 0 0;
}
#tab1:checked~#content1,
#tab2:checked~#content2,
#tab3:checked~#content3,
#tab4:checked~#content4,
#tab5:checked~#content5,
#tab6:checked~#content6{
display: block;
}
</style>