Skip to content

Instantly share code, notes, and snippets.

@navitronic
Created July 25, 2012 03:23
Show Gist options
  • Save navitronic/3174182 to your computer and use it in GitHub Desktop.
Save navitronic/3174182 to your computer and use it in GitHub Desktop.
This might work...
.right-bg{
position: relative;
width: 640px;
height: 480px;
}
.right-bg:after{
display: block;
position: absolute;
right: 10px;
z-index: -1;
/* dimensions and background etc */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment