0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 13:22:40 +00:00

set mask-image blends to fixed points

fixed blend points allows for different sized metadata panel without inadvertently masking text.
This commit is contained in:
Gazook89
2022-03-11 23:10:50 -06:00
parent 01087ca302
commit 28d45b89e0

View File

@@ -118,8 +118,9 @@
color: white;
}
img {
mask-image: linear-gradient(90deg, transparent, black 20%);
-webkit-mask-image: linear-gradient(90deg, transparent, black 20%);
mask-image: linear-gradient(90deg, transparent 150px, black 250px);
-webkit-mask-image: linear-gradient(90deg, transparent 150px, black 250px);
width: 100%;
position: absolute;
right: 0px;
top: 0px;