0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Docs: fix transparent navbar in Windows high contrast mode (#40911)

Co-authored-by: Julien Déramond <juderamond@gmail.com>
This commit is contained in:
Mohamad Salman 2024-10-24 10:37:40 +02:00 committed by GitHub
parent 30e0152567
commit fa3ad0bfd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,6 +3,10 @@
background-color: transparent;
box-shadow: 0 .5rem 1rem rgba($black, .15), inset 0 -1px 0 rgba($white, .15);
@media (forced-colors) {
background-color: Canvas;
}
&::after {
position: absolute;
inset: 0;