A function for checking, merging, and more with a variety of different style formats.

prGetStyle(...)

Arguments

...

Styles can be provided as vector, named vector, or string. If you provide a name, e.g. background: blue, align="center", the function will convert the align into proper align: center.

Value

string Returns the codes merged into one string with correct CSS ; and : structure.