-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
126 lines (113 loc) · 3.43 KB
/
style.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
/* styles.css */
@import url(
"https://fonts.googleapis.com/css2?family=Pacifico&display=swap");
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Arial', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
background-color: #f8f9fa;
/* body {
margin: 0;*/
overflow: hidden;
background: url('https://source.unsplash.com/1920x1080/?galaxy') no-repeat fixed;
background-size: cover;
animation: sparkleBackground 10s infinite linear;
}
textarea {
width: 80%;
height: 100px;
margin-bottom: 20px;
resize: none;
font-size: 16px;
color:#fff;
}
/*Normal button style
button {
background-image: linear-gradient(135deg, color(display-p3 .572549 .415686 1) 0%, color(display-p3 1 .466667 .690196) 50%, color(display-p3 1 .701961 .403922) 100%);
font-size: 16px;
padding: 10px;
cursor: pointer;
}*/
/* Modern animated button style*/
.button {
touch-action: manipulation;
appearance: button;
background-color: transparent;
border-style: initial;
border-width: 0;
cursor: pointer;
margin: 0;
text-transform: none;
vertical-align: baseline;
}
.button:focus {
outline: 0;
}
.button {
touch-action: manipulation;
background-image:url("http://www.zingerbugimages.com/backgrounds/blue_and_purple_dimple_glass.jpg");
/*background-image: linear-gradient(135deg, color(display-p3 .572549 .415686 1) 0%, color(display-p3 1 .466667 .690196) 50%, color(display-p3 1 .701961 .403922) 100%);*/
border-radius: 8px;
color: #fff;
font-feature-settings: "ss01", "cv10", "calt"0, "liga"0;
font-size: 16px;
font-weight: 500;
line-height: 24px;
padding: 10px 20px;
position: relative;
transition: transform .2s cubic-bezier(.6, .6, 0, 1), margin-top .2s cubic-bezier(.6, .6, 0, 1);
transition-behavior: normal, normal;
}
.button::before {
-webkit-mask-clip: content-box, initial;
-webkit-mask-composite: xor;
-webkit-mask-image: linear-gradient(#fff 0, #fff 0), linear-gradient(#fff 0, #fff 0);
-webkit-mask-origin: content-box, initial;
-webkit-mask-position-x: initial, initial;
-webkit-mask-position-y: initial, initial;
-webkit-mask-repeat-x: initial, initial;
-webkit-mask-repeat-y: initial, initial;
-webkit-mask-size: initial, initial;
padding: 1px;
}
.button::before {
background-color: initial;
background-image: linear-gradient(rgba(255, 255, 255, .32), transparent);
bottom: 0;
pointer-events: none;
right: 0;
}
.button::after,
.button-8::before {
border-radius: inherit;
content: "";
left: 0;
position: absolute;
top: 0;
}
.button::after {
box-shadow: #000019 0 0, rgba(0, 0, 25, .3) 0 9px 21px, rgba(73, 2, 57, .2) 0 -3px inset;
height: 100%;
transition: box-shadow .2s cubic-bezier(.6, .6, 0, 1), background-color .2s cubic-bezier(.6, .6, 0, 1);
transition-behavior: normal, normal;
width: 100%;
z-index: 1;
}
.button:active {
transform: translateY(1.5px);
}
.button:hover::after {
background-color: rgba(255, 255, 255, .1);
}
.button:active::after {
box-shadow: #000019 0 0, rgba(0, 0, 25, .2) 0 9px 21px, rgba(73, 2, 57, .2) 0 0 inset;
}