-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsandbox.css
168 lines (144 loc) · 2.73 KB
/
sandbox.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
/* ========================================
CODE YOUR STYLES BELOW!
====================================== */
body {
font-size: 1rem;
background-color: salmon;
}
main {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.facebook-style-btn {
border-radius: 2px;
font-size: 0.9rem;
padding: 6px 12px;
}
.facebook-style-dark {
-moz-box-shadow: inset 0 1px 0 0 #4d73bf;
-webkit-box-shadow: inset 0 1px 0 0 #4d73bf;
box-shadow: inset 0px 1px 0 0 #4d73bf;
background: #4267b2;
border: solid 1px #4267b2;
color: white;
text-shadow: 0px 1px 0 #3359a5;
}
.facebook-style-dark:hover {
background: #2b54a7;
}
.facebook-style-dark:active {
background: #1d4698;
border-color: #1d4698;
}
.facebook-style-light {
background: #f6f7f9;
border: 1px solid #ced0d4;
color: #4b4f56;
}
.facebook-style-light:hover {
background: #e9ebee;
}
.facebook-style-light:active {
background: #d8dade;
border-color: #d8dade;
}
.gradient-button-1 {
position: relative;
z-index: 1;
display: inline-block;
font-size: 1.4rem;
padding: 20px 40px;
box-sizing: border-box;
background-color: #e7eef1;
border: 10px solid transparent;
border-image: linear-gradient(to top right);
}
.container {
position: relative;
}
.thing i {
position: absolute;
top: 50%;
left: 45%;
font-size: 4rem;
color: white;
transition: all 0.3s linear;
}
.thing:hover i {
/* animation: spin 1s linear infinite; */
transform: rotate(90deg);
transition: all 0.3s linear;
/* font-size: 1.5rem; */
}
.transform-icon {
position: relative;
}
.menu {
position: absolute;
height: 50px;
top: 120%;
left: 50%;
transform: translate(-50%, -50%);
cursor: pointer;
transition: 0.5s;
}
.menu .bar {
background: white;
width: 60px;
height: 10px;
box-shadow: 0 0 10px 0 rgb(255, 255, 255, 0.5);
transition: 0.4s;
border-radius: 2px;
}
.menu .bar:not(:first-child) {
margin-top: 10px;
}
.menu:hover .bar {
box-shadow: 0 0 25px 0 rgb(255, 255, 255, 0.5);
}
#check:checked + .menu {
transform: translate(-50%, -50%) rotateY(180deg);
}
#check:checked + .menu .bar:nth-child(1) {
margin-top: 20px;
transform: rotate(-45deg);
}
#check:checked + .menu .bar:nth-child(2) {
opacity: 0;
}
#check:checked + .menu .bar:nth-child(3) {
margin-top: -30px;
transform: rotate(45deg);
}
#check {
opacity: 0;
}
.drop-down-menu {
width: 860px;
margin: 0 auto;
}
.drop-down-menu ul {
list-style: none;
margin-top: 2%;
}
.drop-down-menu ul li {
background: #262626;
width: 170px;
border: 1px solid #fff;
height: 50px;
line-height: 50px;
text-align: center;
float: left;
color: #fff;
position: relative;
}
.drop-down-menu ul li:hover {
background: crimson;
}
/* .drop-down-menu ul ul {
display: none;
} */
.drop-down-menu ul li:hover > ul {
display: block;
}