Picture‑in‑Picture Tester - Online Float Video Anywhere
Open a test video in Picture‑in‑Picture mode. Control entering and leaving PiP. Copy the code snippet for your own app.
UD5 Toolkit
CSS Shapes allow web designers to create sophisticated, non-rectangular layouts.
The shape-outside property defines a shape around which adjacent inline content wraps.
When combined with shape-margin, you can control the spacing between the shape and the
flowing text. For image-based shapes, shape-image-threshold determines which pixels
contribute to the shape based on their alpha channel transparency. A lower threshold includes more
semi-transparent pixels, resulting in a larger exclusion zone. A higher threshold only counts nearly
opaque pixels, creating a tighter wrap. This technique is especially useful for magazine-style layouts,
pull quotes, drop caps, and any design where text needs to flow around irregular visual elements.
Experiment with the sliders to see how these properties interact in real time. Notice how the text
responds dynamically to changes in margin distance and alpha threshold values. Modern browsers including
Chrome, Firefox, Safari, and Edge all provide excellent support for CSS Shapes, making them production-ready
for creative web typography and layout design.
shape-margin?shape-margin defines the outer margin of a CSS shape, creating extra space between the shape boundary and the surrounding inline content. It accepts length values (px, em, rem, %) and works with all shape-outside types including circle(), ellipse(), polygon(), inset(), and image-based shapes.
shape-image-threshold do?This property sets the alpha channel threshold used when extracting a shape from an image. Pixels with alpha above the threshold become part of the shape (text is excluded); pixels below are treated as transparent (text can flow in). Values range from 0 (only fully transparent pixels excluded) to 1 (only fully opaque pixels included).
shape-image-threshold with CSS gradients?Yes! Modern browsers support using CSS gradients (linear-gradient, radial-gradient, conic-gradient) as shape-outside values. The shape-image-threshold works with these gradients since they generate alpha channel data, just like raster images.
shape-margin affect the element's box model?No. shape-margin only affects the shape used for text wrapping. It does not impact the element's CSS box model, border, padding, or regular margin. Think of it as an invisible buffer zone around the shape that pushes text further away.
shape-outside and clip-path?shape-outside controls how inline content flows around an element without affecting its visual rendering. clip-path visually clips the element's content. They can be combined: use shape-outside for text wrapping and clip-path to visually trim the element to match.
CSS Shapes (Level 1) are supported in all modern browsers: Chrome 37+, Firefox 62+, Safari 8+, Edge 79+. The shape-image-threshold property has identical support. For production use, always test across target browsers, especially when using image-based shapes.
Open a test video in Picture‑in‑Picture mode. Control entering and leaving PiP. Copy the code snippet for your own app.
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.
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.
Enter a hexadecimal string and decode it as a 32‑bit or 64‑bit floating‑point number. Low‑level developer tool.
Create a realistic letterpress (debossed) text effect using CSS text‑shadow and background. Adjust depth and light direction. Copy code.
Paste your CSS and sort the properties of each rule alphabetically or by concentric groups. Keep your stylesheets consistent without a build step.
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.
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.
Convert a decimal number to 32-bit single precision IEEE 754 format. See sign, exponent, mantissa bits. Developer tool.
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.
Visually experiment with Flexbox container and item properties. See the layout update in real time and copy the CSS. Learn by doing, fully interactive.
Minify JavaScript and CSS code to reduce file size for production. Remove whitespace and comments instantly. Run locally, your code stays private.
Easily create asymmetric border radius values and preview the result. Copy the generated CSS instantly. All interactively and browser-based.