-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathassignment-02.css
More file actions
72 lines (65 loc) · 1.5 KB
/
assignment-02.css
File metadata and controls
72 lines (65 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
body {
font-family: Arial, sans-serif;
background-image:url(https://www.shutterstock.com/shutterstock/photos/2183627747/display_1500/stock-vector-purple-and-pink-modern-abstract-background-vector-illustration-2183627747.jpg);
background-size:cover;
background-repeat: no-repeat;
background-position: center;
justify-content: center;
align-items: center;
height: 120vh;
margin: 0;
}
.container {
outline-style: solid;
outline-color: #033b29;
outline-width: 5px;
border-radius: 8px;
text-align: center;
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
justify-content: center;
width: 700px;
}
h1 {
color: #3b82f6;
font-size: 20px;
margin-bottom: 20px;
}
.calculator label {
display: block;
margin-bottom: 10px;
}
.calculator input {
width: 100px;
height: 30px;
padding: 5px;
margin-bottom: 10px;
border: 2px solid black;
border-radius: 5px;
}
.calculator button {
display: block;
width: 100%;
margin: 5px 0;
padding: 8px;
background-color: #10b981;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
}
.box{
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
background-color: #333;
}
.calculator button:hover {
background-color: #033b29;
}
#result {
margin-top: 20px;
font-size: 14px;
color: #333;
}