Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
//CSS3 new properties for background: background-size, background-origin and background-clip, new shorthand:
.selector {
background: #000 url(image.gif) no-repeat top left / 100% 100% border-box content-box;
// COLOR URL REPEAT POSITION-TOP POSITION-LEFT / BACKGROUND-SIZE-WIDTH BACKGROUND-SIZE-HEIGHT BACKGROUND-ORIGIN BACKGROUND-CLIP
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.