Blur background on modal pop-up

smartsovereign
24 Apr 2023
blur background pop-up

This code allows you to blur the background when someone triggers a modal, it helps put focus on the modal and not the background. The blur strength can be adjusted as needed.

Add this to the main style sheet.

.oxy-modal-backdrop.live {
backdrop-filter: blur(5px);
}

Was this article helpful?

Tags

Categories

Never miss new post again

Subscribe and get list of new posts in your inbox

Click to Copy