Question

Is this

border-radius:10px 10px 0 0;

A shortend version that will work with all browsers that recognise it to this:

border-top-left-radius:10px; border-top-right-radius:10px;
Était-ce utile?

La solution

Yes, it's better the first approach because it's shorter and waste less bandwith.

Autres conseils

Yes they are identical just like there is padding-left there is border-top-left-radius.

If you really want the confidence of knowing that it will work on all the browsers that can support it, you should be using Compass.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top