跳过导航
This one CSS property will fix your z-index headache.
0:00 / 0:19

This one CSS property will fix your z-index headache.

Ali

@alicalimli_dev2.3万 位关注者

在 X 上查看

17,112 次观看

This one CSS property will fix your z-index headache. In CSS, a child element with z-index will overlap with any fixed or floating elements outside its container. Instead of stacking higher and higher values to fix it. Use this instead: .card-container { isolation: isolate; } With that, any elements with z-index inside the container will be contained. If you found this useful, follow for more. ❤️

评论

评论来自 X (Twitter) 上的原帖

暂无评论