AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
How to change text direction on laptop2/16/2023 ![]() ![]() Here’s a simple example of a marketing page component that uses a stacked layout on small screens, and a side-by-side layout on larger screens (resize your browser to see it in action): This works for every utility class in the framework, which means you can change literally anything at a given breakpoint - even things like letter spacing or cursor styles. To add a utility but only have it take effect at a certain breakpoint, all you need to do is prefix the utility with the breakpoint name, followed by the : character: There are five breakpoints by default, inspired by common device resolutions: Breakpoint prefix Every utility class in Tailwind can be applied conditionally at different breakpoints, which makes it a piece of cake to build complex responsive interfaces without ever leaving your HTML. ![]()
0 Comments
Read More
Leave a Reply. |