语法如下:
ax-elevation {
--elevation-depth: 16;
--ax-radius: 25%;
--ax-corner-shape: scoop;
--ax-corner-shoulder-radius: 8px;
}
螺莉 螺莉莉的黑板报 @im_roriri · 3.93K subscribers 螺莉莉的黑板报 Navigation RevealHighlight Pressure TypedOM 和 Elevation 是这七八年来我们自己实现的,然后用各种模型做了一些修改,Shape 和 Scroll 还有 Tile Group 是这次新加的。 Elevation 的阴影改用 Canvas 画了,不得不说性能贼烂,但,就这样吧 ˊ_>ˋ

ax-elevation {
--elevation-depth: 16;
--ax-radius: 25%;
--ax-corner-shape: scoop;
--ax-corner-shoulder-radius: 8px;
}