편집 요약 없음 |
편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
@media screen and (min-width: 1024px) { | |||
.libre-tab-btns { | |||
display: none; | |||
} | |||
.libre-tab .libre-tab-main { | |||
display: flex; | |||
} | |||
.libre-tab .libre-tab-main-content { | |||
flex: 1 1 auto; | |||
margin-right: 1rem; | |||
padding-right: 1rem; | |||
} | |||
} | |||
@media screen and (max-width: 1023px) { | @media screen and (max-width: 1023px) { | ||
.libre-tab .libre-tab-btns { | .libre-tab .libre-tab-btns { |
2018년 12월 24일 (월) 15:44 판
@media screen and (min-width: 1024px) {
.libre-tab-btns {
display: none;
}
.libre-tab .libre-tab-main {
display: flex;
}
.libre-tab .libre-tab-main-content {
flex: 1 1 auto;
margin-right: 1rem;
padding-right: 1rem;
}
}
@media screen and (max-width: 1023px) {
.libre-tab .libre-tab-btns {
list-style: none;
margin: 0 !important;
border-top: 1px solid #e1e8ed;
border-left: 1px solid #e1e8ed;
border-right: 1px solid #e1e8ed;
}
.libre-tab .libre-tab-btn {
position: relative;
display: inline-block;
padding: 0.5rem;
text-align: center;
width: 6rem;
cursor: pointer;
border-right: 1px solid #e1e8ed;
}
.libre-tab .libre-tab-btns {
background-color: #f5f8fa;
}
.libre-tab .libre-tab-btn-active,
.libre-tab .libre-tab-btn:hover {
background-color: white;
}
.libre-tab .libre-tab-btn-active::before,
.libre-tab .libre-tab-btn:hover::before {
position: absolute;
left: 0px;
bottom: 0px;
content: ' ';
width: 6rem;
display: block;
border-bottom: 2px solid #4188F1;
}
.libre-tab .libre-tab-main {
border: 1px solid #e1e8ed;
padding: 1.5rem;
}
.libre-tab .libre-tab-main {
border: 1px solid #e1e8ed;
padding: 1.5rem;
}
.libre-tab .libre-tab-main-content {
display: none;
}
.libre-tab .libre-tab-main-content-active {
display: block;
}
}