Skip to content

Instantly share code, notes, and snippets.

@ronalfy
Created May 4, 2016 18:16
Show Gist options
  • Save ronalfy/52e0961ecb0b7df889d5aa3cb81ad2d3 to your computer and use it in GitHub Desktop.
Save ronalfy/52e0961ecb0b7df889d5aa3cb81ad2d3 to your computer and use it in GitHub Desktop.
Soliloquy Background Overlay
.soliloquy-item:before {
display: block;
content: '';
width: 100%;
height: 100%;
position: absolute;
right: 0;
top: 0;
z-index: 9;
background: #212121;
background: rgba(33, 33, 33, 0.4);
background-size: contain;
background-repeat: no-repeat;
background-position: right center;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment