Skip to content

Instantly share code, notes, and snippets.

@davidsonfellipe
Last active December 25, 2015 02:29
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 davidsonfellipe/6902968 to your computer and use it in GitHub Desktop.
Save davidsonfellipe/6902968 to your computer and use it in GitHub Desktop.
//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