Skip to content

Commit

Permalink
Added a note about shorthand notation for background-image
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil LaPier committed Dec 15, 2011
1 parent 93beb25 commit aa66831
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,14 @@ The background-image mixin is helpful for chaining multiple comma delimited back
# Multiple linear-gradients;
@include background-image(linear-gradient(hsla(0, 100%, 100%, 0.25) 0%, hsla(0, 100%, 100%, 0.08) 50%, transparent 50%), linear-gradient(#4e7ba3, darken(#4e7ba4, 10%)) );

#### Note about shorthand notation
All CSS background properties support comma delimited values.
For multiple background images you can specify the background properties like position, repeat, etc. for each image. For example:

@include background-image( url("/images/a.png"), url("images/b.png") );
background-position: center top, center;
background-repeat: no-repeat, repeat-x;


### Border-image

Expand Down

0 comments on commit aa66831

Please sign in to comment.