Skip to content

Instantly share code, notes, and snippets.

@ryanve
Last active August 19, 2017 02:03
Show Gist options
  • Save ryanve/777f2ccb72bcd09f5437054e4c59111c to your computer and use it in GitHub Desktop.
Save ryanve/777f2ccb72bcd09f5437054e4c59111c to your computer and use it in GitHub Desktop.
unborder classes
.unborder { border: 0 }
.unborder-top { border-top: 0 }
.unborder-left { border-left: 0 }
.unborder-right { border-right: 0 }
.unborder-bottom { border-bottom: 0 }
.unborder-column:first-child { border-top: 0 }
.unborder-column:last-child { border-bottom: 0 }
.unborder-row:first-child { border-left: 0 }
.unborder-row:last-child { border-right: 0 }
.unborder-first-top:first-child { border-top-width: 0 }
.unborder-first-left:first-child { border-left-width: 0 }
.unborder-last-right:last-child { border-right-width: 0 }
.unborder-last-bottom:last-child { border-bottom-width: 0 }
@ryanve
Copy link
Author

ryanve commented Aug 19, 2017

Related: sharp.css

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