-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStyle_YT1.css
123 lines (120 loc) · 1.96 KB
/
Style_YT1.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
@import url('https://googel.com');
*
{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Lalezar;
}
body{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #162052;
}
.box
{
position: relative;
width: 400px;
height: 400px;
background: rgba(0,0,0,0.5);
border-radius: 50%;
overflow: hidden;
}
.box::before
{
content:'';
position: absolute;
inset: -10px 150px;
background: linear-gradient(315deg,#00ccff,#d400d4);
transition: 0.5s;
animation: animate 4s linear infinite;
}
.box:hover::before
{
inset: -20px 0px;
}
@keyframes animate
{
0%
{
transform: rotate(0deg);
}
100%
{
transform: rotate(360deg);
}
}
.box::after
{
content: '';
position: absolute;
inset: 6px;
background: #162052;
border-radius: 50%;
z-index: 1;
}
.content
{
position: absolute;
inset: 30px;
border: 6px solid #070a1c;
z-index: 3;
border-radius: 50%;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.content img
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: 0.5s;
pointer-events: none;
z-index: 3;
}
.box:hover .content img
{
opacity: 0;
}
.content h2
{
position: relative;
font-size: 1.5em;
text-align: center;
color: #fff;
font-weight: 600;
letter-spacing: 0.05em;
text-transform: uppercase;
}
.content h2 span
{
font-weight: 300;
font-size: 0.75em;
}
.content a
{
position: relative;
margin-top: 10px;
padding: 10px 20px;
background: #fff;
color: #070a1c;
border-radius: 25px;
font-weight: 500;
font-size: 1.25em;
text-transform: uppercase;
letter-spacing: 0.05em;
text-decoration: none;
transition: 0.5s;
}
.content a :hover
{
letter-spacing: 0.2em;
}