align-to-sides

This library can be used to dynamically set text alignment for a set of elements based on their position relative to their parent element(s).

Browse on unpkg