Skip to content

Various

  • You can edit the css of a tailwind class directly in the config file.
theme: {
container: {
center: true,
padding: '2rem',
}
}
  • Use the sr-only class for improving accessibility with screen readers.
  • To limit the number of lines you want to show on a text, use line-clamp class.
  • To add space between elements can use space class (and gap when inside a flexbox).