<div> <p className="underline"> This text is underlined using Tailwind CSS. </p></div>
<div> <p className="line-through "> This text has a strikethrough effect. </p></div>
<div> <p className="overline "> This text has an overline. </p></div>
<div> <p className="underline hover:no-underline"> The underline will disappear when hovered over. </p></div>
<p className="text-lg underline decoration-solid mb-2"> This text has a solid underline </p> <p className="text-lg underline decoration-double mb-2"> This text has a double underline </p> <p className="text-lg underline decoration-dotted mb-2"> This text has a dotted underline </p> <p className="text-lg underline decoration-dashed mb-2"> This text has a dashed underline </p> <p className="text-lg underline decoration-wavy mb-2"> This text has a wavy underline </p>
<p className="text-lg mb-2"> 1 pixel underline thickness: <span className="underline decoration-1">Design adds value faster than it adds cost.</span> </p> <p className="text-lg mb-2"> 2 pixels underline thickness: <span className="underline decoration-2">Design adds value faster than it adds cost.</span> </p> <p className="text-lg mb-2"> 4 pixels underline thickness: <span className="underline decoration-4">Design adds value faster than it adds cost.</span> </p> <p className="text-lg mb-2"> 8 pixels underline thickness: <span className="underline decoration-8">Design adds value faster than it adds cost.</span> </p>
<p className="text-lg mb-2"> Current color: <span className="underline decoration-current">Creativity is inventing, experimenting, growing</span> </p> <p className="text-lg mb-2"> Purple-600 decoration: <span className="underline decoration-purple-600">Creativity is inventing, experimenting, growing</span> </p> <p className="text-lg mb-2"> Blue-500 decoration: <span className="underline decoration-blue-500">Creativity is inventing, experimenting, growing</span> </p> <p className="text-lg mb-2"> Red-600 decoration: <span className="underline decoration-red-600">Creativity is inventing, experimenting, growing</span> </p>
<p className="text-lg mb-2"> 1 pixel offset: <span className="underline underline-offset-1">Creativity is inventing, experimenting, growing</span> </p> <p className="text-lg mb-2"> 2 pixels offset: <span className="underline underline-offset-2">Creativity is inventing, experimenting, growing</span> </p> <p className="text-lg mb-2"> 4 pixels offset: <span className="underline underline-offset-4">Creativity is inventing, experimenting, growing</span> </p> <p className="text-lg mb-2"> 8 pixels offset: <span className="underline underline-offset-8">Creativity is inventing, experimenting, growing</span> </p>