Skip to content

Instantly share code, notes, and snippets.

@gridwalk
Last active January 4, 2016 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gridwalk/8678274 to your computer and use it in GitHub Desktop.
Save gridwalk/8678274 to your computer and use it in GitHub Desktop.
CSS Hack for making borders any size
//produces a 100px box with 80px right border
div{
height: 100px;
position:relative;
&:after {
content: '';
position: absolute;
height: 80%;
border-right: 2px solid red;
right: 1px;
top: 1px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment