I’m trying to fade out the last paragraph ahead of the public preview line in this member-only post, but currently all I’m managing to do is fade the call to action! Please can anyone help me apply the fade only to the paragraph above, and not the CTA?
I’m using this code adapted from a Bright Themes tutorial.
.gh-content { position: relative; }
.gh-content:after {
z-index: 0;
content: "";
position: absolute;
right: 0;
bottom: 0;
left: 0;
height: min(100%, 100px);
background: linear-gradient(transparent, #fff 50%);
}
As you can tell, I’m a bit clueless, so any assistance will be gratefully received. M