CSS Glow Hover Effect - Online Animated Box Shadow
Design a button or card that glows on hover. Adjust shadow color, spread, and transition. Copy the CSS. Rich UI.
UD5 Toolkit
Write CSS with :hover, :active, and :focus pseudo-classes â then lock states to inspect every detail.
Perfect for testing hover effects on mobile ⢠No devtools needed
.hs-test-btn .hs-test-link .hs-test-input .hs-test-card
:hover pseudo-class applies styles when a user hovers their cursor over an element. It's one of the most commonly used CSS pseudo-classes for creating interactive UI feedback â such as button color changes, link underlines, and card lift effects. On touch devices, :hover may behave differently or require a tap to trigger, which is why testing with a simulator is valuable.
:active pseudo-class is triggered during the moment a user presses down on an element (between mousedown and mouseup). It's commonly used to create a "pressed" visual effect â like a button appearing depressed, a slight scale reduction, or a darker background. This state is brief and hard to inspect without a simulator that can lock it.
:focus pseudo-class applies when an element receives keyboard focus (via Tab navigation or programmatic focus). It's essential for accessibility â providing visible indicators for keyboard users. Common focus styles include outline rings, border color changes, and box shadows. Browsers have default focus styles, but custom designs often override them for aesthetic reasons.
:hover, :active, :focus) without needing to physically maintain a cursor position or keyboard focus. This is especially useful for: debugging complex transitions, testing on mobile devices (where hover behaves differently), taking screenshots of specific states, and fine-tuning animations frame-by-frame.
:hover on the first tap and :active / click events on the second tap. With this simulator, you can lock the hover or active state on any element and see exactly how it looks â no device switching required. Simply toggle the state buttons in the preview panel.
.hover-sim, .active-sim, .focus-sim) alongside native pseudo-classes for full coverage.
:focus-visible applies focus styles only when the browser determines the user is navigating via keyboard (not mouse click). :focus-within matches an element if it or any descendant has focus â great for highlighting form groups. This simulator primarily targets :hover, :active, and :focus, but you can manually write CSS for :focus-visible and test it by using Tab to navigate.
transition for smooth state changes (e.g., transition: all 0.2s ease):focus styles have sufficient contrast for accessibility (WCAG 2.1 requires a visible focus indicator):hover and :focus for comprehensive interaction coverage:active brief and snappy â users expect instant feedback:hover-only critical functionality â it excludes touch and keyboard usersDesign a button or card that glows on hover. Adjust shadow color, spread, and transition. Copy the CSS. Rich UI.
Create a glowing or rotating border animation around an element. Copy the CSS keyframes. Pure CSS magic.
Choose a property, duration, and bezier curve. Trigger the transition and see the animation. Copy the complete CSS rule.
Set the inset property and see its logical shorthand equivalents. Copy the modern CSS for absolutely positioned elements.
Apply textâwrap: balance to headings and paragraphs. See the visual difference and copy the CSS. Avoid orphans.
Use the abs() and sign() CSS functions to create interesting layouts. See computed values live. Cuttingâedge CSS.
Paste your CSS and see a static fallback version where var() is replaced with the default value. For legacy support.
Create seamless CSS background patterns like stripes, polka dots, checkerboard. Adjust size and colors. Copy the tiny CSS.
Style the first letter of a paragraph as a large decorative drop cap. Choose font, color, and size. Get the CSS & HTML.
Type any condition and see the result of the ternary operator. Understand truthy/falsy values. Quick learning tool.
Enter a mathematical function for dx and dy and see the vector field arrows. Perfect for studying differential equations.
Generate a hash showing how trackers can fingerprint your browser (canvas, WebGL, fonts). Educational and privacyâaware.
Securely store your vaccination records as a digital card with a QR code to a verification URL (local only). No server.
Browse a searchable list of dog breeds with pictures and traits. Find the breed you saw. Static data, fast.
Set start date and egg type (chicken, duck, quail) to generate a hatching timeline with milestone alerts (lockdown, pip, hatch). Local only.
Get a random, lighthearted daily horoscope based on your zodiac sign. For entertainment only. No personal data collected.
Generate random, formatted ID numbers that match pattern rules for various countries. For testing input validation. No real data.
Select a country and year to see every public holiday. Static data for major countries. Plan your vacations.
Build a valid SPF TXT record by selecting mail servers, IPv4/IPv6 ranges, and includes. Validate syntax and get readyâtoâpublish output.
Visually configure scrollâsnap containers and items. Adjust alignment, stop behavior, and padding. Copy the clean CSS instantly.
Create complex linear gradients with any number of color stops, exact angles, and length units. Live preview and CSS code.
Design a light and dark theme by picking colors for backgrounds, text, and links. Get the CSS for both themes. Local.
Style underlines, overlines, and strike-throughs with colors, wavy styles, and thickness. Modern CSS textâdecoration.
Adjust opacity visually with a slider and see the different CSS representations (opacity property vs RGBA/HSLA). Copy best option.
Pick two images or colors and apply all 16 CSS mixâblendâmode values live. See and copy the right CSS for your design.
Design a fully styled scrollbar with colors, width, radius, and hover effects. Supports both ::-webkitâscrollbar and Firefox scrollbarâwidth.
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.
Upload any image and view it as a person with deuteranopia, protanopia, or tritanopia would. Promote inclusive design.
Create a customizable checkerboard or grid background using pure CSS gradients. Adjust cell size and colors. Copy the code.