Skip to content

Commit 5d9a4f5

Browse files
committed
Style new quote button
1 parent 0b2dfa6 commit 5d9a4f5

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Sprint-3/quote-generator/style.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** Write your CSS in here **/
22
:root {
33
--primary-color: #ffa500;
4-
--secondary-color: #000000;
4+
--secondary-color: #ffffff;
55
}
66

77
body {
@@ -13,7 +13,7 @@ body {
1313
}
1414

1515
main {
16-
background-color: white;
16+
background-color: var(--secondary-color);
1717
color: var(--primary-color);
1818
width: 40vw;
1919
height: 35vh;
@@ -25,3 +25,11 @@ h1,
2525
#quote {
2626
display: inline;
2727
}
28+
29+
button {
30+
background-color: var(--primary-color);
31+
color: var(--secondary-color);
32+
border: none;
33+
padding: 0.5rem 1rem;
34+
cursor: pointer;
35+
}

0 commit comments

Comments
 (0)