Skip to content

Instantly share code, notes, and snippets.

@ryanve
Created June 3, 2017 01:40
Show Gist options
  • Save ryanve/1e36e30c7dfa683c1ae6b174487d2bba to your computer and use it in GitHub Desktop.
Save ryanve/1e36e30c7dfa683c1ae6b174487d2bba to your computer and use it in GitHub Desktop.
border between classes
.border-between-top:not(:first-child) { border-top-style: solid; border-top-width: 1px }
.border-between-bottom:not(:last-child) { border-bottom-style: solid; border-bottom-width: 1px }
.border-between-left:not(:first-child) { border-left-style: solid; border-left-width: 1px }
.border-between-right:not(:last-child) { border-right-style: solid; border-right-width: 1px }
@ryanve
Copy link
Author

ryanve commented Jun 3, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment