Skip to content

Commit c079ba2

Browse files
css_file_basic_styling
1 parent 27f1662 commit c079ba2

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

Sprint-3/quote-generator/style.css

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,47 @@
11
/** Write your CSS in here **/
2+
body {
3+
font-family: Arial, sans-serif;
4+
text-align: center;
5+
margin: 40px;
6+
background-color: lightgray;
7+
}
8+
9+
div {
10+
background: white;
11+
padding: 20px;
12+
border-radius: 8px;
13+
max-width: 500px;
14+
margin: auto;
15+
box-shadow: 0 2px 6px gray;
16+
}
17+
18+
h1 {
19+
color: black;
20+
margin-bottom: 20px;
21+
}
22+
23+
#quote {
24+
font-size: 1.2em;
25+
margin: 20px 0;
26+
color: darkblue;
27+
}
28+
29+
#author {
30+
font-style: italic;
31+
color: darkgreen;
32+
margin-bottom: 25px;
33+
}
34+
35+
button {
36+
padding: 10px 20px;
37+
font-size: 1em;
38+
background-color: magenta;
39+
color: white;
40+
border: none;
41+
border-radius: 5px;
42+
cursor: pointer;
43+
}
44+
45+
button:hover {
46+
background-color: navy;
47+
}

0 commit comments

Comments
 (0)