Simplified animation

This commit is contained in:
Zakary Timson 2017-10-02 16:39:46 -04:00
parent b0cbc63db5
commit e9c6e58f95

View File

@ -3,28 +3,19 @@
{% block body %} {% block body %}
<style> <style>
.gradient { a.cases {
top: 0;
transition: all 0.15s ease-in;
opacity: 1;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 60%, rgba(255, 255, 255, 1) 100%);
position: absolute;
height: 100%;
width: 100%;
display: table-cell;
vertical-align: bottom;
}
.tc {
display: table-cell;
}
a.cases:hover {
text-decoration: none; text-decoration: none;
} }
a.cases:hover .gradient { .cases .card-body p {
opacity: 0; background: -webkit-linear-gradient(#555555, #ffffff);
-webkit-background-clip: text;
color: transparent;
transition: color 0.25s;
}
.cases .card-body p:hover {
color: #555555;
} }
</style> </style>
<div class="container-fluid bg-dark-primary"> <div class="container-fluid bg-dark-primary">