Skip to content

Instantly share code, notes, and snippets.

@paulodiovani
Last active May 11, 2016 02:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulodiovani/b4b6cbd2112ebc7a4d2b58800b53d0c6 to your computer and use it in GitHub Desktop.
Save paulodiovani/b4b6cbd2112ebc7a4d2b58800b53d0c6 to your computer and use it in GitHub Desktop.
How to tint background images on Reveal.js slides
<section
data-background="linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url(img/bg.jpg)"
data-background-size="cover"
></section>
<!-- sources:
https://css-tricks.com/tinted-images-multiple-backgrounds/
https://css-tricks.com/perfect-full-page-background-image/ -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment