Created
October 22, 2017 05:28
-
-
Save neilgee/84fb336f2e3523f909bc901cc9dd5061 to your computer and use it in GitHub Desktop.
Gradient behind a row in Beaver Builder
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
.myclass .fl-row-content-wrap:after { | |
content: ''; | |
display: block; | |
position: absolute; | |
top: 0; | |
right: 0; | |
bottom: 0; | |
left: 0; | |
z-index: 0; | |
} | |
/* http://colorzilla.com/gradient-editor/ */ | |
.myclass > .fl-row-content-wrap::after { | |
background: -moz-linear-gradient(top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 100%); /* FF3.6-15 */ | |
background: -webkit-linear-gradient(top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */ | |
background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ | |
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment