-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
56 lines (50 loc) · 1.09 KB
/
style.css
File metadata and controls
56 lines (50 loc) · 1.09 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
h1 {
text-align: center;
text-decoration: underline;
margin-top: 16px;
font-size: 40px;
}
.container {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-top: 20px;
}
.color-box {
background-color: #da71d7;
width: 200px;
height: 200px;
color: #fff;
margin: 5px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-size: 26px;
font-weight: bold;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
border: solid black 2px;
border-radius: 5px;
}
button {
background-image: linear-gradient(to right, #16222A 0%, #3A6073 51%, #16222A 100%);
margin-top: 12px;
padding: 10px 20px;
transition: 0.4s;
background-size: 200% auto;
color: #fff;
border-radius: 6px;
font-size: 15px;
cursor: pointer;
}
button:hover {
background-position: right center;
}