How does CSS 3 border-image work exactly?

Posted by Tower on Stack Overflow See other posts from Stack Overflow or by Tower
Published on 2010-03-13T14:43:25Z Indexed on 2010/03/13 14:55 UTC
Read the original article Hit count: 158

Filed under:
|
|

Hi,

I have an image of 4x4 in size and I want to use it all around a DIV's border. The following:

-moz-border-image: url("../images/window/side.png") 4 4 4 4 / 4px 4px 4px 4px repeat repeat

will place left and right borders, but not bottom and top. What's wrong with it? I think I have misunderstood the syntax and if that is so, how does this syntax really work?

© Stack Overflow or respective owner

Related posts about css3

Related posts about border-image