Replaced CSSBorder with borderWidth, borderStyle and borderColor.