Hello,
I’m using an animated (webp) background image in the styling section like so;
background-image: url("_bg.webp");
background-attachment: fixed;
background-position: center bottom;
background-repeat: no-repeat;
But on the backside of the cards, it’s really distracting as it interferes with the text.
How could I add some blur to it just on the backside and/or make it more transparent?
It doesn’t really matter if the background is webp or png or any other image format. I just wanted to be precise.
The question is how I can change the opacity and/or blurriness of the background image on the back side of the cards.
The best solution i could come up with was to have two separate image files, one blurred and one that isnt and just using the corresponding one for either the front or back card template
Add this code to your front and back card template (and replace the path) to use separate pictures.
<style>
body {background-image: url("YOUR IMAGE PATH")}
</style>
Make sure you dont have a {{FrontSide}} field on the back, that would mess with the background image.
I use a pseudo element and add the background-image to it. This way, I can use a blur filter for the ::after element without blurring the card content. Also, I like to use CSS variables to keep stuff orderly: