Stacking Contexts In CSS

Stacking Contexts In CSS

Stacking Context :

  • It is a group of elements positioned on the Z-axis.
  • Stacking Contexts can be nested within other stacking contexts and z-index values are used to determine the layering of elements within the same stacking context parents
  • Positive z-index values indicate that the element is more toward the screen
  • Negative z-index values indicate that the element is away from the screen ( refer the cover image)

要查看或添加评论,请登录

社区洞察

其他会员也浏览了