Jump to content

css3 border-image property


akhleshsrm

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 comment
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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...