-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprogect6_colour.html
135 lines (112 loc) · 2.13 KB
/
progect6_colour.html
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
<!DOCTYPE html>
<!-- Created By AsTachnology - astachnology.com -->
<html>
<head>
<meta charset="utf-8">
<title>Colour design</title>
<style>
}
body {
height: 100%;
place-items: center;
}
.center {
display: flex;
text-align: center;
align-items: center;
justify-content: center;
}
.outer {
position: relative;
margin: 0 50px;
background: blueviolet;
}
.button {
height: 70px;
width: 220px;
border-radius: 50px;
}
.circle {
height: 200px;
width: 200px;
border-radius: 50%;
}
.outer button,
.outer span {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.outer button {
background: #fff;
border: 1px;
font-size: 20px;
z-index: 9;
letter-spacing: 1px;
}
.button button {
height: 60px;
width: 210px;
border-radius: 50px;
}
.circle button {
height: 180px;
width: 180px;
border-radius: 50%;
}
.outer span {
height: 100%;
width: 100%;
background: inherit;
}
.button span {
border-radius: 50px;
}
.circle span {
border-radius: 50%;
}
.outer:hover span:nth-child(1) {
filter: blur(7px);
}
.outer:hover span:nth-child(2) {
filter: blur(14px);
}
.outer:hover {
background: linear-gradient(#14ffe9, #ffeb3b, #ff00e0);
animation: rotate 1.5s linear infinite;
}
@keyframes rotate {
0% {
filter: hue-rotate(0deg);
}
100% {
filter: hue-rotate(360deg);
}
}
@media (max-width: 640px) {
.center {
flex-wrap: wrap;
flex-direction: column;
}
.outer {
margin: 50px 0;
}
}
</style>
</head>
<body>
<div class="center">
<div class="outer button">
<button>AsTachnology</button>
<span></span>
<span></span>
</div>
<div class="outer circle">
<button>Hover Me</button>
<span></span>
<span></span>
</div>
</div>
</body>
</html>