文本断行;不同于字符数的断行,可以根据 CSS 样式以像素级别的断行;
mjml-text
Convert CSS text to a React Native stylesheet object
mjml-spacer
Wrap words to a specified length.
Wordwrap a string with ANSI escape codes
PostCSS plugin to replace overflow-wrap with word-wrap or optionally retain both declarations.
mjml-image
Wrap words to a specified length.
Use round, rem and mod functions in CSS
mjml-button
mjml-divider
Word-wrapping for javascript.
Helper to wrap functions inside a function call.
PostCSS plugin to unwrap nested rules like how Sass does it
Use logical properties and values in CSS
Merge longhand properties into shorthand with PostCSS.
mjml-carousel
Right pad a string with zeros or a specified string. Fastest implementation.
Use the gap, column-gap, and row-gap shorthand properties in CSS
Simple React component that makes titles more readable.
Use the random function in CSS
mjml-column
PostCSS plugin to transform clamp() to combination of min/max