Border value(s) order


#1

In exercise 4 of Learn CSS: The Box Model click here, it shows this code:

p {
  border: 3px solid coral;
}

Do the values of the border always have to be listed in this order(3px solid coral)?
Or can they be in a random order(solid 3px coral, or coral solid 3px, etc.)?


#2

Given that they are object properties (their keys are a set) the order is of no importance. Try a few combintations, and I’ll gladly yield if this be wrong.


#3

Thank you.
:slight_smile:


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.