Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

ios safe area

padding-top: max(12px, env(safe-area-inset-top));
padding-bottom: max(12px, env(safe-area-inset-bottom));
padding-left: max(12px, env(safe-area-inset-left));
padding-right: max(12px, env(safe-area-inset-right));
Source by webkit.org #
 
PREVIOUS NEXT
Tagged: #ios #safe #area
ADD COMMENT
Topic
Name
1+4 =