DEV Community

loading...

How to Indent Your Text Using Tailwind . Ultimate Guide

dimer191996 profile image Dimer BWimBA ・Updated on ・1 min read

You can use one of these two plugins:

https://www.npmjs.com/package/tailwindcss-typography

or

Use this plugin:

https://www.npmjs.com/package/tailwindcss-text-indent

...and configure it like this:

// tailwind.config.js

module.exports =
theme: {
textIndent: theme => theme('spacing'),
// ...
},
// ...
}

Discussion (0)

pic
Editor guide