Skip to content

Instantly share code, notes, and snippets.

@gunjanpatel
Created February 13, 2018 13:03
Show Gist options
  • Select an option

  • Save gunjanpatel/2ee4d01db8706410a8f06bb715398736 to your computer and use it in GitHub Desktop.

Select an option

Save gunjanpatel/2ee4d01db8706410a8f06bb715398736 to your computer and use it in GitHub Desktop.
Bootstrap 4 Card Gradient CSS trick
.card:after {
content: "";
top: 0;
bottom: 0;
left: 0;
right: 0;
position: absolute;
background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,1));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment