How to use box sizing

Which of this rule is the best practice:

Using the universal selector to change the box-sizing to border-box, for example:
*{
border-box;
}

OR

Specifying the box-sizing to border-box on a specific element, for example:
.success{
width: 350px;
height: 400px;
padding: 20px;
border: 10px solid blue;
box-sizing: border-box;
}

And when is it recommended to set box-sizing to content-box?

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