Focus states hide bugs
Static previews never show hover, focus or disabled styling, which is where most interface problems actually live.
Free CSS visualizer and live previewer. Paste CSS to see it rendered, build gradients and box shadows visually, and preview hover, focus and disabled states instantly.
Free, no sign-upRuns in your browserNothing uploaded
Static previews never show hover, focus or disabled styling, which is where most interface problems actually live.
@import, url() and position: fixed are stripped, so pasted CSS cannot load remote resources or escape this box.
No dropped declarations found for the elements in the preview.
A CSS previewer sounds redundant in 2026 - your browser already renders CSS. The reason it is still useful is failure. The CSS parser in every browser silently discards declarations it does not understand, so a typo produces a layout that is nearly right and gives you no error at all. This tool renders your CSS in a sandboxed frame, then reports which declarations the browser threw away, which is usually the missing semicolon or the property name you misspelled.
It also previews the states a static page never shows you. Hover, focus-visible, active and disabled are where most interface bugs live, and none of them appear until you interact with the thing. The state switcher applies a real interaction state to the preview so you can check focus ring visibility and disabled styling before shipping.
Two visual generators sit alongside the previewer. The gradient builder edits a live gradient with stops you can drag, choose from linear, radial and conic, and produce CSS in two syntaxes: the modern relative colour syntax and the widely supported colour function with alpha. The shadow builder composes multi-layer box shadows, which is how modern soft shadows are actually built, and reports the CSS you need for both the light and dark variants of a design system.
Drop it into the editor and the preview updates as you type. The preview is sandboxed: @import, url() and remote references are stripped, and position: fixed is contained so pasted CSS cannot escape the frame or load anything from the network.
Any declaration the browser rejected is listed with the selector and property, so a silently dropped rule becomes visible.
Use the state buttons to apply hover, focus-visible, active and disabled to the previewed elements. If your :focus-visible ring is invisible against the background, this is where you will find out.
Drag the gradient stops to reposition them, pick a second colour, and choose an angle or shape. The box shadow builder stacks multiple layers with independent blur, spread and colour.
One click copies the finished gradient or shadow, including the dark-mode variant when one is set.
ToolForge has css previewer & design playground plus a growing set of image, colour and developer tools. All of them run locally in your browser, free and without an account.
Browse all tools