Use responsive design breakpoints
2.xTermwind supports responsive design breakpoints similar to Tailwind CSS. All sizes are based on Font Size 15. The supported breakpoints are:
sm: 64 spaces (640px)md: 76 spaces (768px)lg: 102 spaces (1024px)xl: 128 spaces (1280px)2xl: 153 spaces (1536px)
render(<<<'HTML'
<div class="bg-blue-500 sm:bg-red-600">
If bg is blue is sm, if red > than sm breakpoint.
</div
HTML);