I'm using reveal.js: I'd like to display a full-screen image as a background, and once I move to a different slide I'd like to blur or dim it. Looking at Changing the background-image style in Reveal.js, I've tried this in my css:
.html.blur .backgrounds {
-webkit-filter: blur(5px);
-moz-filter: blur(10px);
-o-filter: blur(5px);
-ms-filter: blur(5px);
filter: blur(5px);
}
and then in my markdown document I do an html comment with
.slide: data-background="figs/background.svg" data-background-size="contain" data-state="blur"
which creates a <section>
tag with data-state="blur"
inside. However, the background doesn't get blurred -- what am I missing?