Skip to content

Commit 40051f0

Browse files
Update style.css
1 parent b820663 commit 40051f0

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

project-8-tip-calculator/style.css

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,40 @@ body {
1515
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
1616
border-radius: 10px;
1717
}
18+
19+
h1 {
20+
margin-top: 0;
21+
text-align: center;
22+
}
23+
24+
input {
25+
padding: 10px;
26+
border: 1px solid #ccc;
27+
border-radius: 5px;
28+
margin: 10px 0;
29+
width: 100%;
30+
}
31+
32+
button {
33+
background-color: #4caf50;
34+
color: white;
35+
padding: 10px;
36+
border: none;
37+
cursor: pointer;
38+
margin: 10px 0;
39+
width: 100%;
40+
border-radius: 5px;
41+
font-size: 18px;
42+
text-transform: uppercase;
43+
transition: background-color 0.3s ease;
44+
}
45+
46+
button:hover {
47+
background-color: #45a049;
48+
}
49+
50+
#total {
51+
font-size: 24px;
52+
font-weight: bold;
53+
margin-top: 10px;
54+
}

0 commit comments

Comments
 (0)