-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
116 lines (100 loc) · 2.21 KB
/
styles.css
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');
*::before,
::after {
margin: 0;
padding: 0;
}
body {
background-color: yellow;
}
header {
font-size: 30px;
font-family: 'Lobster', cursive;
text-align: center;
padding-left: 200px;
}
.cell {
background-color: white;
border: 1px solid black;
display: inline-block;
}
.grid {
display: grid;
width: 550px;
height: 550px;
box-shadow: rgba(0, 0, 0, 0.24) 12px 12px 12px;
}
main {
display: flex;
align-content: center;
justify-content: center;
gap: 50px;
margin-top: 2em;
}
/*button CSS*/
.btn {
align-self: center;
background-color: #fff;
background-image: none;
background-position: 0 90%;
background-repeat: repeat no-repeat;
background-size: 4px 3px;
border-radius: 15px 225px 255px 15px 15px 255px 225px 15px;
border-style: solid;
border-width: 2px;
box-shadow: rgba(0, 0, 0, .2) 15px 28px 25px -18px;
box-sizing: border-box;
color: #41403e;
cursor: pointer;
display: inline-block;
font-family: Neucha, sans-serif;
font-size: 1rem;
line-height: 23px;
outline: none;
text-decoration: none;
transition: all 235ms ease-in-out;
border-bottom-left-radius: 15px 255px;
border-bottom-right-radius: 225px 15px;
border-top-left-radius: 255px 15px;
border-top-right-radius: 15px 225px;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
border-radius: 20%;
}
.btn:hover {
box-shadow: rgba(0, 0, 0, .3) 2px 8px 8px -5px;
transform: translate3d(0, 2px, 0);
}
.btn:focus {
box-shadow: rgba(0, 0, 0, .3) 2px 8px 4px -6px;
}
main .left {
margin-top: 7em;
display: flex;
flex-direction: column;
gap: 20px;
}
#rainbow {
/* reset */
-webkit-appearance: none;
border: 0;
outline: 0;
/* styles */
background: linear-gradient(-45deg, #ffd6d6,#faffb0,#c0ffb6,#d0ddff,#e1bfff);
animation: gradientBG 4.5s ease infinite;
color: black;
transition: .3s;
}
@keyframes gradientBG {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
/* CSS */