The safe-area-inset attribute takes effect on iphone without bangs. Why?

Shouldn"t the

safe-area-inset attribute be valuable only for phones with bangs? Today"s test found that the style of iphone6 iphone6s was also affected by this. Why?

  padding-top: constant(safe-area-inset-top);
  padding-top: env(safe-area-inset-top);
Mar.27,2022
Menu