An image framed by a decorative, wavy border created with pure CSS masks and gradients.

Images Inside Wiggly Boxes

A decorative image frame created entirely with CSS mask compositing. It combines radial-gradient layers with conic-gradient and the intersect composite operator to sculpt a scalloped, wavy border, while the CSS round() function ensures perfect pattern alignment along the edges.

See the Pen Images Inside Wiggly Boxes.

Art Deco Card

Art Deco Card

An elegant Art Deco style card created purely with CSS/SCSS, utilizing a sophisticated technique with pseudo-elements to construct complex, multi-layered geometric borders and corners.

See the Pen Art Deco Card.

Fancy Title with CSS Responsive Frame

Fancy Title with CSS Responsive Frame

Creating a complex decorative title where breaks in the border are elegantly implemented using CSS Grid and pseudo-elements. Padding sizes adapt dynamically thanks to a CSS variable calculated by a mixin.

CSS3 Picture Frame

CSS3 Picture Frame

A pure CSS image styling technique that creates a realistic framed effect using concentric pseudo-elements.

See the Pen CSS3 Picture Frame.

Frame

A single list item styled as a physical photo frame — gradients, shadows, and a rotated pseudo‑element create depth and a glossy reflection. The CSS is ready for multiple items, but only one is used.

One Element Realistic Photo Frame

Single image with a CSS‑only picture frame — borders simulate 3D depth (light/dark sides), absolute centering keeps it in the middle. Simple, effective, no extra markup.

Picture Frame

Two nested <div> elements create a double‑frame effect — an outer gray border and a thick white mat. Borders with varying lightness on each side give the illusion of a beveled edge. The image itself has a subtle inner border. The layout is fixed‑width and static.

Picture Frame

Nested borders and shadows build a layered picture frame — the outer box has a soft drop shadow, while inner borders simulate a beveled mat. The image is a CSS background; a separate tag holds metadata. The layout is fixed‑width and purely visual.

Pure CSS3 Picture Frame

A fixed‑size picture frame built with nested divs and inset shadows — the outer frame is dark, inner border has a white mat with a heavy inset shadow, and the image sits inside a bordered area. The caption is absolutely positioned below. The layout is rigid and purely decorative.

CSS 3D Beveled Picture Frame

Nested divs with border styles and box shadows build a multi‑layered picture frame — outer/inner bevels, a flat surface, and a mat with a gold edge. The image is static; the effect is purely visual, with no interactive elements.

CSS Picture Frame

Responsive picture frame built with vmin units and nested pseudo‑elements. Bevels and inset shadows create a physical depth effect. The image is static; the layout adapts to viewport size.

Element Frames

Custom properties define colors; pseudo‑elements draw decorative borders, simulating chip and film‑strip textures. The layout uses inline blocks and margins for alignment — a purely visual, non‑interactive design.

Frame Image and Title

Three profile cards share a consistent structure — the image has extra bottom padding to leave space for the caption, which is absolutely positioned at the bottom. Color themes are applied via modifier classes.

Full Screen Vintage Frame with Multiple Borders

Full Screen Vintage Frame with Multiple Borders

This responsive layout constructs an ornate vintage frame around text using nested concentric borders. The .outer-border, .mid-border, and .inner-border rules stack thin and thick rules with custom paddings. Decorative corner and edge images are placed using position: absolute and flipped using simple scale() transforms.