Skip to content

Commit f82f7e3

Browse files
authored
Update randomcolor.css
1 parent 917fc05 commit f82f7e3

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

Random Color Generator/randomcolor.css

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,32 @@
11
h1 {
22
display: flex;
3+
34
justify-content: center;
5+
46
font-weight: bolder;
7+
58
font-size: 60px;
9+
610
text-shadow: 2px 2px;
11+
712
font-family: "Raleway", sans-serif;
813
}
914

1015
.color_gen {
1116
display: flex;
17+
1218
justify-content: center;
1319
}
1420

1521
body {
1622
width: 100%;
23+
1724
height: 100%;
25+
1826
display: flex;
27+
1928
justify-content: center;
29+
2030
align-items: center;
2131
}
2232

@@ -28,14 +38,23 @@ html {
2838
.brndm,
2939
#gradc {
3040
font-size: 20px;
41+
3142
border-radius: 12px;
43+
3244
padding: 16px 32px;
45+
3346
text-align: center;
47+
3448
font-size: 20px;
49+
3550
margin: 4px 2px;
51+
3652
opacity: 0.6;
53+
3754
transition: 0.3s;
55+
3856
font-weight: bolder;
57+
3958
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.4), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
4059
}
4160

@@ -47,13 +66,12 @@ html {
4766
opacity: 1;
4867
}
4968

50-
51-
5269
#gradc:hover {
5370
opacity: 1;
5471
}
5572

56-
5773
.brndm:hover {
5874
opacity: 1;
59-
}
75+
}
76+
77+

0 commit comments

Comments
 (0)