Created
February 13, 2018 13:03
-
-
Save gunjanpatel/2ee4d01db8706410a8f06bb715398736 to your computer and use it in GitHub Desktop.
Bootstrap 4 Card Gradient CSS trick
This file contains hidden or 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
| .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