Skip to content

Instantly share code, notes, and snippets.

@neilgee
Created October 22, 2017 05:28
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 neilgee/84fb336f2e3523f909bc901cc9dd5061 to your computer and use it in GitHub Desktop.
Save neilgee/84fb336f2e3523f909bc901cc9dd5061 to your computer and use it in GitHub Desktop.
Gradient behind a row in Beaver Builder
.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