Skip to content

Commit

Permalink
added classes to li's to prevent accordion interference
Browse files Browse the repository at this point in the history
  • Loading branch information
Krenbot committed Oct 18, 2022
1 parent 0959e81 commit 3b33ba8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
8 changes: 6 additions & 2 deletions assets/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@ h3 {
text-align: left;
}

ul {
.flipping-cards {
display:flex;
}

li{
.li-card{
display: inline-block;
}

/* li{
} */

ul,
li {
list-style: none;
Expand Down
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h3>A Playing Card Workout Generator</h3>
<!-- Shown Card HTML -->
<ul class="flipping-cards">
<!-- Front of Card -->
<li>
<li class = 'li-card'>
<input type="checkbox" id="item1">
<label for="item1">
<span class="wrapper">
Expand Down Expand Up @@ -71,7 +71,7 @@ <h3>A Playing Card Workout Generator</h3>
</p>
</footer>
</li>
<li>
<li class = 'li-card'>
<input type="checkbox" id="item2">
<label for="item2">
<span class="wrapper">
Expand Down Expand Up @@ -99,7 +99,7 @@ <h3>A Playing Card Workout Generator</h3>
</p>
</footer>
</li>
<li>
<li class = 'li-card'>
<input type="checkbox" id="item3">
<label for="item3">
<span class="wrapper">
Expand Down Expand Up @@ -127,7 +127,7 @@ <h3>A Playing Card Workout Generator</h3>
</p>
</footer>
</li>
<li>
<li class = 'li-card'>
<input type="checkbox" id="item4">
<label for="item4">
<span class="wrapper">
Expand Down Expand Up @@ -155,7 +155,7 @@ <h3>A Playing Card Workout Generator</h3>
</p>
</footer>
</li>
<li>
<li class = 'li-card'>
<input type="checkbox" id="item5">
<label for="item5">
<span class="wrapper">
Expand Down

0 comments on commit 3b33ba8

Please sign in to comment.