Spaces:
Runtime error
Runtime error
Update app.py
Browse filesApply gradients to generate button
app.py
CHANGED
|
@@ -394,7 +394,8 @@ body {
|
|
| 394 |
color: #333;
|
| 395 |
}
|
| 396 |
.custom-button {
|
| 397 |
-
background:
|
|
|
|
| 398 |
font-size: 30px;
|
| 399 |
color: white;
|
| 400 |
padding: 10px 20px;
|
|
@@ -406,6 +407,11 @@ body {
|
|
| 406 |
.custom-button:hover {
|
| 407 |
opacity: 0.8;
|
| 408 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 409 |
.custom-title {
|
| 410 |
font-size: 36px;
|
| 411 |
background: linear-gradient(271.15deg, #00C7E2 0.27%, #12C06D 102.07%);
|
|
|
|
| 394 |
color: #333;
|
| 395 |
}
|
| 396 |
.custom-button {
|
| 397 |
+
background: linear-gradient(rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 100%);
|
| 398 |
+
color: transparent;
|
| 399 |
font-size: 30px;
|
| 400 |
color: white;
|
| 401 |
padding: 10px 20px;
|
|
|
|
| 407 |
.custom-button:hover {
|
| 408 |
opacity: 0.8;
|
| 409 |
}
|
| 410 |
+
.custom-button::before {
|
| 411 |
+
background: linear-gradient(90deg, rgb(29, 161, 255) 0%, rgb(163, 44, 255) 56%, rgb(251, 156, 255) 100%);
|
| 412 |
+
-webkit-background-clip: text;
|
| 413 |
+
-webkit-text-fill-color: transparent;
|
| 414 |
+
}
|
| 415 |
.custom-title {
|
| 416 |
font-size: 36px;
|
| 417 |
background: linear-gradient(271.15deg, #00C7E2 0.27%, #12C06D 102.07%);
|