shape‑margin & clip‑path Text Wrap - Online Magazine Layout
Float an image and wrap text around a non‑rectangular shape. Adjust shape‑margin. Copy the CSS. For magazine‑style web.
UD5 Toolkit
Shape-outside is a powerful CSS property that allows text to flow around non-rectangular shapes, creating stunning magazine-style layouts on the web. Instead of boring rectangular text wraps, you can make your content dance around circles, ellipses, polygons, and even images with alpha transparency. This demo showcases a circular text wrap using shape-outside: circle(). The circle's radius, position, and margin can all be fine-tuned to achieve the exact look you want. Whether you're designing a feature article, a creative landing page, or just want to add some visual flair to your blog posts, shape-outside opens up a world of possibilities that were once only available in print design software like InDesign or QuarkXPress. Play with the controls on the right to see how each parameter affects the text flow around the floating circle element.
circle() function accepts up to two arguments: a radius and an optional position (using at).circle(50% at 50% 50%)at keyword followed by X and Y coordinates. Default is at 50% 50% (center of the element's box).float: left or float: right). Without a float, the property has no effect. This is because shape-outside modifies how inline content wraps around the float area of an element. If you need text wrapping around shapes without floats, consider using shape-inside (though browser support is still limited as of 2025).
border-radius: 50% for the visual appearance and shape-outside for the text wrap.
shape-margin: 20px) pushes text further away, creating a more open, airy layout. A value of 0 makes text hug the shape tightly. Negative values are not permitted. It accepts length units (px, em, rem) and percentages.
Float an image and wrap text around a non‑rectangular shape. Adjust shape‑margin. Copy the CSS. For magazine‑style web.
Easily create asymmetric border radius values and preview the result. Copy the generated CSS instantly. All interactively and browser-based.
Wrap your text inside an ASCII art frame or bubble. Multiple designs (speech bubble, box). Copy to clipboard.
Apply text‑emphasis marks (filled dot, open circle, etc.) with color. Ideal for East Asian typography. Copy the style.
Design a layout where nested grids share track sizes with their parent via subgrid. Copy the complete CSS.
Create a pure CSS scroll progress indicator using animation‑timeline: scroll(). No JavaScript. Copy the complete code.
Paste your CSS and see warnings for properties that have limited browser support. Links to CanIUse. Modernize safely.
Limit browser gestures on an element: pan‑x, pinch‑zoom, manipulation. Draw on a canvas to test. Mobile dev helper.
Create complex linear gradients with any number of color stops, exact angles, and length units. Live preview and CSS code.
Style underlines, overlines, and strike-throughs with colors, wavy styles, and thickness. Modern CSS text‑decoration.
Crop any image into a perfect circle and save as PNG with transparent corners. For profile pictures. Local canvas.
Generate a random HTML/CSS card with different box model properties. Inspect and guess the size. For learners.
Design a button or card that glows on hover. Adjust shadow color, spread, and transition. Copy the CSS. Rich UI.
Create a realistic letterpress (debossed) text effect using CSS text‑shadow and background. Adjust depth and light direction. Copy code.
Experiment with CSS container queries. Resize a container and see the styles change according to its size, not the viewport. Learn the new spec.
Generate a subtle noise/grain texture as a CSS background pattern. Adjust opacity and size. For that film look.
Create a customizable checkerboard or grid background using pure CSS gradients. Adjust cell size and colors. Copy the code.
Upload two images and apply CSS blend modes (multiply, screen, overlay, etc.). See the result and copy the filter CSS. Pure frontend.
Add print styles like removing backgrounds, adding page breaks, setting margins. See print preview instantly.
Create a pure CSS countdown timer with a flipping number effect. Adjust duration and style. No JavaScript needed for display.
Create a glowing or rotating border animation around an element. Copy the CSS keyframes. Pure CSS magic.
Create a custom HTML/CSS progress bar with percentage, colors, and animation. Copy the code. Modern UI element.
Try to draw a perfect circle freehand. Score based on roundness. Fun and addictive. No data sent.
Design a realistic neon sign text with multiple layers of glow. Copy the CSS and HTML. Perfect for headers.
A replica of the famous Flexbox Froggy game: solve alignment puzzles by writing CSS. Progress saved locally. Fun frontend learning.
Fetch a website's CSS and extract :root custom properties (‑‑color) to reveal its design token palette. For learning and inspiration.
Recreate the target CSS linear gradient by adjusting stops and colors. A unique game for front‑end developers to master gradients.
Browse and search all Font Awesome 6 icons with preview, class name, and unicode. Copy the HTML snippet. Perfect for web developers.
Create text with a gradient fill using CSS background-clip. Configure colors and direction. Copy the code. Works in modern browsers.
A complete, searchable list of all 140+ named HTML/CSS colors with their hex codes and color previews. Click to copy code. Essential web reference.