Further work on overlay mechanism.

This commit is contained in:
Daniel Scalzi
2018-04-06 12:33:20 -04:00
parent 92cb88a23a
commit 5335e0124b
5 changed files with 120 additions and 63 deletions

View File

@@ -13,6 +13,8 @@
#main {
height: calc(100% - 22px);
background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
will-change: filter;
transition: filter 0.5s ease;
}
#main[overlay] {
filter: blur(3px) contrast(0.9) brightness(1.0);