Basic use
example.css
.dock {
padding-bottom: env(safe-area-inset-bottom, 0px);
}
Environment variables expose user-agent values such as safe-area insets through the env() function.
.dock {
padding-bottom: env(safe-area-inset-bottom, 0px);
}.dock {
padding-bottom: env(safe-area-inset-bottom, 0px);
}.dock {
padding-bottom: env(safe-area-inset-bottom, 0px);
}Keep learning CSS.
CODETOFUN NEWS
Get the latest IT news, programming updates, and technology trends directly on your phone.
Your daily dose of tech, straight to your feed.
2 people found this page helpful