← Back to Home

TNTHNGVDYNND

A personal playground for recapping and experimenting with pure HTML & CSS — no frameworks, no build tools, just the basics done well.

Random placeholder photo 1

###

#####

Random placeholder photo 3

###

#####

Pseudo-Elements

The card corners use ::before (gradient tab) and ::after (dark overlay) — zero extra HTML needed. Each card's tab position shifts via :nth-child() selectors.

Pseudo-element demo card 1

Tab: Top-Left

::before positioned at top

Pseudo-element demo card 2

Tab: Bottom-Left

::before positioned at bottom

Pseudo-element demo card 3

Tab: Top-Left

::before positioned at top

CSS Grid & Responsive

auto-fit + minmax() = responsive grid with zero media queries. clamp() handles fluid font sizes.

Grid demo card 1

auto-fit

Fills available columns

Grid demo card 2

minmax()

Defines column constraints

Grid demo card 3

clamp()

Fluid typography sizing

Filters & Transitions

Images start as grayscale(100%) and transition to full color on hover. The gradient tab scales up simultaneously — two animations, one hover.

Filter demo — grayscale to color

grayscale()

Hover to reveal color

Filter demo — grayscale to color

transition

0.5s ease timing

Filter demo — grayscale to color

scale()

Tab grows on hover

Background Watermark

A massive <span> with position: absolute, z-index: -1, and clamp() sizing. It sits behind content as a subtle branding element.

Watermark demo card 1

position: absolute

Removed from flow

Watermark demo card 2

z-index: -1

Behind all content

Watermark demo card 3

aria-hidden

Skipped by screen readers

CSS Variables

Colors, spacing, and transitions live in :root as custom properties. One change propagates everywhere — easy theming and maintenance.

--bg-primary #171717
--accent-start #f2709c
--accent-end #ff9472
--text-muted #a3a3a3
--card-bg #232526
--text-primary #ffffff

Container Queries

Unlike media queries (viewport-based), container queries let components respond to their own container size. Resize the browser to see.

Container query demo 1

Small Container

Stacked layout when narrow

Container query demo 2

Medium Container

Side-by-side when wider

Container query demo 3

Large Container

Full detail view