Shapes & Visual FX

Adding showroom glass reflections and polished surface pedestals under hero cards

That sleek mirrored floor reflection you see in high-end tech keynotes immediately communicates value and luxury. In this lab, I'll show you how to use -webkit-box-reflect paired with subtle alpha gradient fade-outs to give your product mockups that showroom gleam.

📖 Read the Complete Tutorial: CSS 3D Product Reflections & Floor Shadows Guide →
Product Reflection & 3D Floor Shadow
WordPress & Elementor Integration

How to Add Glossy Product Reflections in Elementor

Elevate WooCommerce product displays and technology showcases in Elementor with Apple-style floor reflections and contact shadows in 3 simple steps.

1

Copy Elementor / WP Code

In the code studio above, switch to the Elementor / WP tab and click Copy to get the self-contained bundle with reflection CSS and product markup.

2

Insert an HTML Widget

In your WordPress dashboard, edit your WooCommerce product or landing page with Elementor (Free or Pro). Drag an HTML widget onto your canvas.

3

Paste & Update Image URL

Paste the snippet into the HTML Code box. Replace the sample image link with your product PNG/WebM from the WordPress Media Library.

Features & Best Practices

💎

Apple Showroom Aesthetics

Creates realistic glossy glass table reflections with exponential linear fade-to-transparency directly below the product element.

⚡

Zero Duplicate Image DOM Nodes

Utilizes native browser rendering engines via -webkit-box-reflect, eliminating duplicate DOM images and saving memory.

Frequently Asked Questions

How do I add glossy product reflections in Elementor?

Switch to the Elementor / WP tab in the generator above and click Copy. In WordPress, open your Elementor canvas, drag an HTML widget into your section, and paste the code snippet. Replace the sample image URL with your WordPress Media Library image URL.

Which browsers support -webkit-box-reflect?

-webkit-box-reflect is supported natively across Google Chrome, Microsoft Edge, Apple Safari, Opera, iOS Safari, and Android Chromium browsers (over 94% global web traffic). For Firefox, an automatic @supports not fallback block is provided.

How does the gradient fade prevent hard reflection cutoffs?

The reflection mask uses a linear-gradient(to bottom, transparent, rgba(0,0,0,op) fade%, transparent) syntax. The alpha channel of the gradient dictates where the reflection is visible and where it smoothly fades into total transparency.

Can I apply reflections to interactive buttons or cards?

Yes! Any HTML element (including buttons, tilt cards, product boxes, or video frames) can take a reflection. Note that clicks on the reflected mirror area are ignored by default, ensuring primary UI interactions remain focused on the actual element.

How do I create an Apple-style mirror reflection beneath an image or card?

Use the WebKit property -webkit-box-reflect: below 2px linear-gradient(transparent, rgba(0, 0, 0, 0.3));. For cross-browser support, clone the element using a transformed ::after pseudo-element.

How do I create cross-browser reflections in Firefox using CSS transforms?

Place an identical element with transform: scaleY(-1);, position it directly beneath the primary card, and apply a fading mask-image or gradient overlay to simulate surface floor reflection.

How do I adjust the reflection gap and fade distance?

In -webkit-box-reflect, the first parameter sets the offset gap (e.g. 4px). Adjusting the gradient stops in the second parameter controls how quickly the reflection fades into transparency.

Does an element reflection mirror live user interactions and animations?

Yes. -webkit-box-reflect automatically mirrors live animations, hover scale transforms, and playing video content in real time with zero additional JavaScript.