Пропустить навигацию
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_dev23 тыс. подписчиков

Открыть в 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)

Комментариев пока нет