Typography
SkyLineCSS - Typography Utility Classes
SkyLineCSS provides a set of utility classes for controlling typography-related styles. These classes allow you to easily apply font families, sizes, styles, weights, spacing, alignment, colors, decorations, and more to your text elements.
Font Family
Classes
.font-sans: Sans-serif font family..font-serif: Serif font family..font-mono: Monospace font family.
Usage
<div class="font-sans">Sans-serif Font</div>
<div class="font-serif">Serif Font</div>
<div class="font-mono">Monospace Font</div>Font Size
Classes
.text-xs: Extra small font size..text-sm: Small font size..text-base: Base font size..text-lg: Large font size..text-xl: Extra large font size..text-2xl: 2x large font size..text-3xl: 3x large font size..text-4xl: 4x large font size.
Usage
Font Smoothing
Classes
.font-smooth: Enable font smoothing.
Usage
Font Style
Classes
.italic: Italic font style.
Usage
Font Weight
Classes
.font-thin: Thin font weight..font-light: Light font weight..font-normal: Normal font weight..font-medium: Medium font weight..font-semibold: Semi-bold font weight..font-bold: Bold font weight..font-extrabold: Extra bold font weight..font-black: Black font weight.
Usage
Font Variant Numeric
Classes
.font-ordinal: Enable ordinal font variants..font-slashed-zero: Enable slashed zero font variants.
Usage
Letter Spacing
Classes
.tracking-tight: Tight letter spacing..tracking-normal: Normal letter spacing..tracking-wide: Wide letter spacing.
Usage
Line Clamp
Classes
.line-clamp-2: Clamp text to 2 lines..line-clamp-3: Clamp text to 3 lines..line-clamp-4: Clamp text to 4 lines.
Usage
Line Height
Classes
.leading-none: No extra line height..leading-tight: Tight line height..leading-normal: Normal line height..leading-loose: Loose line height.
Usage
List Style Image
Classes
.list-none: No list style image..list-disc: Bulleted list style..list-decimal: Numbered list style.
Usage
List Style Position
Classes
.list-inside: List marker inside the list item..list-outside: List marker outside the list item.
Usage
List Style Type
Classes
.list-none: No list style..list-disc: Disc list style..list-decimal: Decimal list style..list-square: Square list style.
Usage
Text Align
Classes
.text-left: Left-aligned text..text-center: Center-aligned text..text-right: Right-aligned text..text-justify: Justified text.
Usage
Text Color
Classes
.text-black: Black text color..text-white: White text color..text-gray: Gray text color..text-red: Red text color..text-blue: Blue text color..text-green: Green text color.
Usage
Text Decoration
Classes
.underline: Underline text..line-through: Line through text..no-underline: No underline.
Usage
Text Decoration Color
Classes
.underline-black: Black underline..underline-white: White underline..underline-gray: Gray underline.
Usage
Text Decoration Style
Classes
.underline-dashed: Dashed underline..underline-dotted: Dotted underline..underline-double: Double underline.
Usage
Text Decoration Thickness
Classes
.underline-thin: Thin underline..underline-medium: Medium underline..underline-thick: Thick underline.
Usage
Text Underline Offset
Classes
.underline-offset: Offset underline.
Usage
Text Transform
Classes
.uppercase: Uppercase text..lowercase: Lowercase text..capitalize: Capitalize text.
Usage
Text Overflow
Classes
.overflow-ellipsis: Ellipsis overflow..overflow-clip: Clip overflow.
Usage
Text Wrap
Classes
.whitespace-normal: Normal text wrap..whitespace-nowrap: No wrap text..whitespace-pre: Preformatted text.
Usage
Text Indent
Classes
.indent: Text indentation.
Usage
Vertical Align
Classes
.align-baseline: Baseline vertical alignment..align-top: Top vertical alignment..align-middle: Middle vertical alignment..align-bottom: Bottom vertical alignment.
Usage
Whitespace
Classes
.whitespace-normal: Normal whitespace..whitespace-nowrap: No whitespace.
Usage
Word Break
Classes
.break-normal: Normal word break..break-words: Break words..break-all: Break all.
Usage
Hyphens
Classes
.hyphens-none: No hyphenation..hyphens-auto: Auto hyphenation.
Usage
Content
Classes
.content-center: Centered content.
Usage
Last updated