-
Notifications
You must be signed in to change notification settings - Fork 0
/
EtchaSketch2.css
120 lines (87 loc) · 2.08 KB
/
EtchaSketch2.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
@import url('https://fonts.googleapis.com/css2?family=Lakki+Reddy&display=swap');
body {
background: linear-gradient(0.25turn, #962f2f, #e3f5d6, #556c8b);
padding: 100px;
font-family: Lakki Reddy;
}
#title {
font-size: 80px;
color: rgb(94, 90, 90);
text-align: center;
-webkit-animation: glow 1s ease-in-out infinite alternate;
-moz-animation: glow 1s ease-in-out infinite alternate;
animation: glow 1s ease-in-out infinite alternate;
margin-top: -50px;
}
@-webkit-keyframes glow {
from {
text-shadow: 0 0 10px rgb(236, 111, 111), 0 0 20px rgb(236, 111, 111), 0 0 30px #3a2764, 0 0 40px #3a2764, 0 0 50px #3a2764, 0 0 60px #3a2764, 0 0 70px #3a2764;
}
to {
text-shadow: 0 0 20px rgb(236, 111, 111), 0 0 30px #749cb8, 0 0 40px #749cb8, 0 0 50px #749cb8, 0 0 60px #749cb8, 0 0 70px #749cb8, 0 0 80px #749cb8;
}
}
#container {
display: grid;
grid-template-rows: repeat(16, 1fr);
grid-template-columns: repeat(16, 1fr);
background: linear-gradient(-45deg, blue, red);
border: 1px solid black;
height: 600px;
width: 600px;
margin-left: 615px;
margin-top: 20px;
margin-left: 500px;
}
.square {
border: 1px solid black;
width: 100%;
height: 100%;
}
.wrapper{
display: flex;
justify-content: center;
padding: 5px;
}
#clear-grid:hover{
color: #ff7a59;
border: #ff7a59 solid 1px;
background:#fff;
}
#resize-grid:hover{
color: #ff7a59;
border: #ff7a59 solid 1px;
background:#fff;
}
#random-color:hover{
color: #ff7a59;
border: #ff7a59 solid 1px;
background:#fff;
}
#black:hover{
color: #ff7a59;
border: #ff7a59 solid 1px;
background:#fff;
}
.btns {
padding: 20px;
margin: 25px;
border-radius: 100px;
border: 2px solid black;
color: #3a2764;
width: 180px;
display: inline-block;
margin: 1% 20px;
padding: 20px 0px;
text-align: center;
font-weight: bold;
font-family: Arial;
font-size: 16px;
color: rgb(19, 17, 17);
position: relative;
text-decoration: none;
letter-spacing: 1.5px;
background: linear-gradient(-45deg, blue, red);
margin-top: -20px;
outline: none;
};