Font-medium: Tailwind CSS Font Weight class

The flex-col-reverse class arranges flex items in a vertical column but reverses their order, stacking them from bottom to top.


Font-medium

The font-medium class applies a medium font weight, which is slightly heavier than normal text.

Example Code

html
<div
class="p-5 font-bold bg-gray-100 rounded-t-md flex flex-col justify-center items-center"
>
<h3 class="text-gray-500 mr-48">Font-Medium</h3>
<p class="font-medium">Pack my box with five dozen liquor jugs.</p>
</div>

Preview

Font-Medium

Pack my box with five dozen liquor jugs.

How to Use

Add the Font-medium class directly to your HTML element:

html
<div class="Font-medium">
<!-- Your content here -->
</div>

Responsive Usage

Use Tailwind's responsive prefixes to apply Font-medium at specific breakpoints:

html
<div class="sm:Font-medium md:Font-medium lg:Font-medium">
Responsive element
</div>
  • sm:Font-medium — applies from 640px and up
  • md:Font-medium — applies from 768px and up
  • lg:Font-medium — applies from 1024px and up

Customization

You can extend or override this utility in your tailwind.config.js. See the Tailwind CSS documentation for details on customizing your theme.

Windframe is an AI visual editor for rapidly building stunning web UIs & websites

Start building stunning web UIs & websites!

Build from scratch or select prebuilt tailwind templates