Jump to content

css3 border-image property

Recommended Posts

How to use the border-image-width property in border-image shorthand?


If i try this:


border-image: url(border-image.png) 40 30 round;


In this i am using 30 as border-image-width but the browser rendering it as the second parameter for the border-image-slice.


Link to post
Share on other sites

You have to define units for your numbers or the browser will ignore them.


I'm not certain if all the new border properties can be put into the shorthand version due to ambiguity. It may be something that needs more research.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...