akhleshsrm Posted August 10, 2016 Share Posted August 10, 2016 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 More sharing options...
Ingolme Posted August 10, 2016 Share Posted August 10, 2016 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now