Skip to content

Instantly share code, notes, and snippets.

@aphexmunky
Created February 27, 2013 09:38
Show Gist options
  • Save aphexmunky/5046669 to your computer and use it in GitHub Desktop.
Save aphexmunky/5046669 to your computer and use it in GitHub Desktop.
media selected css with sprite bg url
@media screen and (min-width: 1020px) {
#content:before {
content: " ";
background: url("/assets/images/layout/content-shadow@2x.png") 0 -542px no-repeat, url("/assets/images/layout/content-shadow@2x.png") right 0 no-repeat;
position: absolute;
top: 0;
left: -23px;
right: -23px;
display: block;
height: 540px;
z-index: -1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment