Skip to content

Commit 6a89dc1

Browse files
committed
button hover
1 parent 4621d40 commit 6a89dc1

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

stylesheet.css

+4
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ a.button {
2222
text-align: center;
2323
padding: 10px 10px;
2424
margin: 5px 5px;
25+
}
26+
a.button:hover {
27+
color: moccasin;
28+
background-color: darkslategrey;
2529
}

stylesheet.scss

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
body {
2+
background-color: antiquewhite;
3+
font-family: "Helvetica", sans-serif;
4+
5+
}
6+
div.topheader {
7+
background-color: moccasin;
8+
color: darkslategray;
9+
height: 200px;
10+
display: flex;
11+
justify-content: center; /* align horizontal */
12+
align-items: center; /* align vertical */
13+
}
14+
div.bodytext {
15+
background-color: antiquewhite;
16+
color: darkslategray;
17+
margin-left: 100px;
18+
margin-right: 100px;
19+
}
20+
a.button {
21+
background-color: moccasin;
22+
text-align: center;
23+
padding: 10px 10px;
24+
margin: 5px 5px;
25+
}

0 commit comments

Comments
 (0)