do border shorthand styles in correct order
itemsPattern to join optional item patterns, & non-capturing groups to simplify capture