diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-10-22 00:31:49 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-10-22 00:31:49 +0200 |
| commit | bc1dc6958441a8d0790cec648e333a874630ba8d (patch) | |
| tree | 4fcc6405960c0d391f84d264dd565e75cfacc675 | |
| parent | e5795372ae20cd282a12f5a6085fe73444da9635 (diff) | |
| download | quatuorbellefeuille.com-bc1dc6958441a8d0790cec648e333a874630ba8d.tar.xz | |
gray out event backgrounds
| -rw-r--r-- | événements.css | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/événements.css b/événements.css index 5ee11c5..8753eb3 100644 --- a/événements.css +++ b/événements.css @@ -23,8 +23,21 @@ object-fit: cover; height: 100%; width: 100%; + transition: 0.5s; +} + +.event:hover img { + filter: grayscale(0.8) brightness(0.4); } .event p { z-index: 1; + opacity: 0; + font-weight: bold; + color: white; + transition: 0.5s; +} + +.event:hover p { + opacity: 1; } |
