탭 css 수정
This commit is contained in:
parent
a0b38fa00e
commit
8b5c838faa
@ -27,41 +27,41 @@
|
||||
|
||||
<style>
|
||||
.tabWrap {
|
||||
background: #fff;
|
||||
padding: 10px 20px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 20px;
|
||||
box-shadow: 0px 2px 4px rgba(0,0,0,0.1);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.tabList {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
justify-content: center; /* 가운데 정렬 */
|
||||
gap: 10px; /* li 사이 간격 */
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
list-style: none;
|
||||
background: #f4f4f4;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.tabList li {
|
||||
border: none;
|
||||
flex: 1; /* 동일한 너비 */
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.tabList li a {
|
||||
display: block;
|
||||
padding: 8px 16px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 6px;
|
||||
background: #f9f9f9;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
padding: 10px 0;
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
transition: background 0.2s, color 0.2s;
|
||||
}
|
||||
.tabList li a:hover {
|
||||
background: #f0f0f0;
|
||||
font-weight: bold;
|
||||
border-radius: 8px;
|
||||
transition: background 0.2s ease;
|
||||
background: #e0e0e0;
|
||||
}
|
||||
|
||||
.tabList li.active a {
|
||||
background: #456ded;
|
||||
color: #fff;
|
||||
border: 1px solid #456ded;
|
||||
background-color: #2e3a59;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
@ -16,42 +16,43 @@
|
||||
|
||||
<style>
|
||||
.tabWrap {
|
||||
background: #fff;
|
||||
padding: 10px 20px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 20px;
|
||||
box-shadow: 0px 2px 4px rgba(0,0,0,0.1);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.tabList {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
justify-content: center; /* 가운데 정렬 */
|
||||
gap: 10px; /* li 사이 간격 */
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
list-style: none;
|
||||
background: #f4f4f4;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.tabList li {
|
||||
border: none;
|
||||
flex: 1; /* 동일한 너비 */
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.tabList li a {
|
||||
display: block;
|
||||
padding: 8px 16px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 6px;
|
||||
background: #f9f9f9;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
padding: 10px 0;
|
||||
text-decoration: none;
|
||||
color: #333;
|
||||
transition: background 0.2s, color 0.2s;
|
||||
}
|
||||
.tabList li a:hover {
|
||||
background: #f0f0f0;
|
||||
font-weight: bold;
|
||||
border-radius: 8px;
|
||||
transition: background 0.2s ease;
|
||||
background: #e0e0e0;
|
||||
}
|
||||
|
||||
.tabList li.active a {
|
||||
background: #456ded;
|
||||
color: #fff;
|
||||
border: 1px solid #456ded;
|
||||
background-color: #2e3a59;
|
||||
color: white;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<script type="text/javascript" src="/js/jquery-3.5.0.js"></script>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user