SyntaxFix
Write A Post
Hire A Developer
Questions
The order in which the classes appear in the html element does not matter, what counts is the order in which the blocks appear in the style sheet.
In your case .smallbox-paysummary is defined after .smallbox hence the 10px precedence.
.smallbox-paysummary
.smallbox