Created
August 17, 2017 07:23
-
-
Save robertstaddon/cdd4882f8b7e83df62a7244405853291 to your computer and use it in GitHub Desktop.
Divi - CSS rule for an overlay (with light overlay)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.background-fade .et_pb_slide.et_pb_bg_layout_light:after { | |
position: absolute; | |
content: ''; | |
top: 0; | |
right: 0; | |
left: 0; | |
bottom: 0; | |
background-color:rgba(255,255,255,.7); | |
} | |
.background-fade .et_pb_slide.et_pb_bg_layout_dark:after { | |
position: absolute; | |
content: ''; | |
top: 0; | |
right: 0; | |
left: 0; | |
bottom: 0; | |
background-color:rgba(0,0,0,.5); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment