Skip to content

Commit 218d616

Browse files
committed
add css to accordion
1 parent f0bba38 commit 218d616

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

css/accordion.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/* James K Jose */
2+
.accordion-jkj {
3+
background-color: #eee;
4+
color: #444;
5+
cursor: pointer;
6+
padding: 18px;
7+
width: 100%;
8+
text-align: left;
9+
border: none;
10+
outline: none;
11+
transition: 0.4s;
12+
}
13+
.active, .accordion-jkj:hover {
14+
background-color: #ccc;
15+
}
16+
.panel {
17+
padding: 0 18px;
18+
background-color: white;
19+
display: none;
20+
overflow: hidden;
21+
}

0 commit comments

Comments
 (0)