Commit 41da8afa authored by Hanna Schraffenberger's avatar Hanna Schraffenberger
Browse files

update

parent 8789c983
......@@ -19,7 +19,7 @@
for (i = 0; i < coll.length; i++) {
coll[i].addEventListener("click", function() {
this.classList.toggle("active");
this.classList.toggle("open");
let content = this.nextElementSibling;
if (content.style.display === "block") {
content.style.display = "none";
......
......@@ -25,9 +25,7 @@ header {
/* Double call to action */
.button.primary.inverted {
margin-right: 10px;
display: flex;
flex-flow:row wrap;
margin-right: 1px;
}
/* Overwriting colors */
......@@ -124,8 +122,8 @@ column.text p {
font-size: 15px;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
/* Add a background color to the button if it is clicked on (add the .open class with JS), and when you move the mouse over it (hover) */
.open, .collapsible:hover {
background-color: #ccc;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment