/ Gists / Svg mask - sprite via css target
On gists

Svg mask - sprite via css target

CSS SVG

mega.svg Raw #

app.css Raw #


/* https://dyinglightgame.com/news/patch-notes */
.news-index__filter--active:before {
    content: "";
    position: absolute;
    inset: 0;
    -webkit-mask: url(/img/masks/mega.svg#button-border) no-repeat 0 0 / 151% 100%;
    mask: url(/img/masks/mega.svg#button-border) no-repeat 0 0 / 151% 100%;
    background: #d26370;
    z-index: -1;
}