Text Decoration Style
📌 خاصیت Text Decoration Style مشخص میکنه که خط متن صاف، نقطهای، خطچین یا موجدار باشه.
در Tailwind این کار با کلاسهای decoration-*
انجام میشه.
✅ کلاسها
-
decoration-solid
→ خط صاف (پیشفرض) -
decoration-dotted
→ خط نقطهای -
decoration-dashed
→ خط خطچین -
decoration-double
→ خط دو خط -
decoration-wavy
→ خط موجدار
✅ مثال
📌 نکات مهم
-
این کلاسها معمولاً با underline یا line-through ترکیب میشن.
-
میتونی همزمان با decoration-color رنگ خط و با decoration-2 / decoration-4 ضخامت خط رو کنترل کنی: