triplexlab
Version:
프론트엔드 개발자가 프로젝트할때 흔하고 많이 하는 작업들을 나만의 플러그인으로 만들었습니다.\ ES6의 class기반으로 만들었고, 공부하는 차원으로 만들었습니다.🧑🏻💻🧑🏻💻
49 lines (46 loc) • 736 B
CSS
.wrapper {
width: 100%;
margin: 0 auto;
}
h1 {
font-size: 40px;
}
.tabs {
margin-top: 40px;
}
.tabs .line {
width: 100%;
height: 5px;
display: block;
margin-top: 20px;
background-color: dimgray;
position: relative;
}
.tabs .tr_line_item {
height: 100%;
display: block;
background-color: #09f;
position: absolute;
top: 0;
left: 0;
}
.tabs ul {
display: flex;
justify-content: space-between;
}
.tabs ul .tr_tab_item {
width: 100%;
text-align: center;
box-sizing: border-box;
font-size: 30px;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.29, -0.52, 0.99, 1.91);
}
.tabs ul .tr_tab_item.actives {
color: #09f;
}
.box {
width: 100px;
height: 100px;
background-color: #333;
}