Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Text-indent utilities for Tailwind CSS.

NotificationsYou must be signed in to change notification settings

hacknug/tailwindcss-text-indent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This plugin adds utilities to use text-indent with Tailwind CSS.

Installation

Add this plugin to your project:

# Install using pnpmpnpm install --save-dev tailwindcss-text-indent# Install using npmnpm install --save-dev tailwindcss-text-indent# Install using yarnyarn add -D tailwindcss-text-indent

Usage

// tailwind.config.js{theme:{// defaults to these valuestextIndent:(theme,{ negative})=>({      ...{// sm: '2rem',// md: '3rem',// lg: '4rem',},      ...negative({// sm: '2rem',// md: '3rem',// lg: '4rem',}),}),},variants:{// all the following default to ['responsive']textIndent:['responsive'],},plugins:[require('tailwindcss-text-indent')(),// no options to configure],}
.indent-sm {text-indent:2rem; }.indent-md {text-indent:3rem; }.indent-lg {text-indent:4rem; }.-indent-sm {text-indent:-2rem; }.-indent-md {text-indent:-3rem; }.-indent-lg {text-indent:-4rem; }

About

Text-indent utilities for Tailwind CSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp