Changing the opacity of the static backdrop in HxModal #751
-
Hi guys, this is probably an easy one and I'm probably just tired after a long days work, but how do I make the static backdrop less transparent? Right now the modal dialog blends in a bit too much with the underlying UI which makes it a bit "cluttered", so I'd like to dim down the background a bit. |
Beta Was this translation helpful? Give feedback.
Answered by
crdo
Feb 9, 2024
Replies: 1 comment 1 reply
-
There is a CSS var |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
BEX-IT-Johannes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a CSS var
--bs-backdrop-opacity
that is scoped to.modal-backdrop.show
CSS class.The default is set by Bootstrap to
.5
.