Skip to content

Commit 8d53e1a

Browse files
committed
solve styleint error
1 parent 91cc7cd commit 8d53e1a

File tree

1 file changed

+32
-37
lines changed

1 file changed

+32
-37
lines changed

Source-Code/WeightConverter/style.css

+32-37
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,24 @@
1-
body{
2-
background: linear-gradient(to left, aqua, rgb(0, 128, 255));
3-
line-height: 0.5;
4-
text-align: center;
5-
}
1+
body {
2+
background: linear-gradient(to left, aqua, rgb(0, 128, 255));
3+
line-height: 0.5;
4+
text-align: center;
5+
}
66

7-
.main{
8-
width: 500px;
9-
padding-bottom: 100;
10-
position: absolute;
11-
top:40%;
12-
left:50%;
13-
transition:0.25px;
14-
transform: translate(-50%,-50%);
15-
justify-items: center;
16-
text-align: center;
7+
.main {
8+
width: 500px;
9+
position: absolute;
10+
justify-items: center;
11+
text-align: center;
1712
}
1813

19-
.container{
20-
display: flex;
21-
flex-direction: column;
22-
align-items: center;
14+
.container {
15+
display: flex;
16+
flex-direction: column;
17+
justify-items: center;
18+
padding: 40px;
2319
}
24-
.card{
20+
21+
.card {
2522
box-shadow: 0 4px 8px 0;
2623
transition: 0.4s;
2724
width: 300px;
@@ -31,33 +28,33 @@ body{
3128
margin: 10px;
3229
}
3330

34-
h1{
31+
h1 {
3532
font-size: 30px;
3633
color: antiquewhite;
3734
text-align: center;
3835
}
3936

40-
.values{
37+
.values {
4138
width: 240px;
4239
text-align: center;
4340
border: 2px solid transparent;
4441
border-radius: 5px;
45-
font-size: 20;
46-
padding: 10px 0px;
47-
transition: border 0.5px;
42+
padding: 10px 0;
4843
}
49-
li{
50-
list-style-type: none;
44+
45+
li {
46+
list-style-type: none;
5147
}
52-
ul{
53-
display: flex;
54-
flex-direction: column;
55-
gap: 15px;
56-
justify-content: flex-start;
48+
49+
ul {
50+
display: flex;
51+
flex-direction: column;
52+
gap: 15px;
53+
justify-content: flex-start;
5754
}
5855

59-
.buttons{
60-
border:3px solid;
56+
.buttons {
57+
border: 3px solid;
6158
background-color: rgb(40, 211, 40);
6259
color: white;
6360
font-size: 16px;
@@ -69,8 +66,6 @@ ul{
6966
margin-left: 40px;
7067
}
7168

72-
73-
label{
69+
label {
7470
font-size: 20px;
7571
}
76-

0 commit comments

Comments
 (0)