Add background color in Reveal.js

You can apply full background color by adding 'data-background' attribute to your 'section' element. i.e: data-background-color. All CSS color formats are supported, like rgba() or hsl().

Code Structure
<section data-background-color="#f00">
 <h2>color</h2>
</section>

Share this

Related Posts