Changing the background-image style in Reveal.js

后端 未结 1 1794
失恋的感觉
失恋的感觉 2021-01-21 07:38

I am trying to access the styles of the background-image in reveal.js for three reasons:

a) I\'d like to override the background image in the overviewmode b) I\'d like t

相关标签:
1条回答
  • 2021-01-21 08:15

    You have to overwrite the ".backgrounds" class instead ".state-background". Background images are not placed in ".slides". That's why your CSS code wont blur the background images.

    .backgrounds {
         -webkit-filter: blur(5px);
         -moz-filter: blur(50px);
         -o-filter: blur(5px);
         -ms-filter: blur(5px);
         filter: blur(5px);
     }
    
    0 讨论(0)
提交回复
热议问题