mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 21:06:58 +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:
1 parent
01087ca302
commit
28d45b89e0
1 file changed
+3
-2
@@ -118,8 +118,9 @@
|
|||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
img {
|
img {
|
||||||
mask-image: linear-gradient(90deg, transparent, black 20%);
|
mask-image: linear-gradient(90deg, transparent 150px, black 250px);
|
||||||
-webkit-mask-image: linear-gradient(90deg, transparent, black 20%);
|
-webkit-mask-image: linear-gradient(90deg, transparent 150px, black 250px);
|
||||||
|
width: 100%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0px;
|
right: 0px;
|
||||||
top: 0px;
|
top: 0px;
|
||||||
|
|||||||
Reference in new issue
Block a user