Skip to content

Instantly share code, notes, and snippets.

@anacampesan
Created February 11, 2019 21:38
Show Gist options
  • Save anacampesan/e8c7e8325ec30afb8ce3869e9202bf5c to your computer and use it in GitHub Desktop.
Save anacampesan/e8c7e8325ec30afb8ce3869e9202bf5c to your computer and use it in GitHub Desktop.
.myDiv {
border: 2px solid beige;
border-image: linear-gradient(to top, beige 95%, rgba(0,0,0,0) 95%); /* Change direction, color and height accordingly */
border-image-slice: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment