Phox Elements
ANIMATION Floating cards for Breakdance

Info cards that bounce around the screen

Bouncing Cards fills an area with cards that drift and bounce off its edges. Each card can have an icon, a heading, some text and a button. Hover over a card and it stops and comes to the front so it is easy to read.

Stops on hover Adjustable speed Icon, text and button per card
Live demos

Hover over a card to stop it

Three Bouncing Cards areas with different styles: customer reviews for a bakery, shop promises for an outdoor store and reasons to join a gym with a button in each card. The cards drift and bounce off the edges. Put your mouse over one to pause it and bring it to the front.

Testimonials

Reviews floating around a bakery homepage

Wide white cards with a quote icon, a short review and the customer's name. A cream area with rounded corners. On hover the card border turns amber.

Best sourdough in town
Priya, a regular since 2019
The cardamom buns sell out by ten
Tom, who now comes at nine
They made our wedding cake
Hannah and Leo
Worth the queue on a Saturday
Marek, from two streets away
Badges

Shop promises for an outdoor gear store

Small 190px cards on a dark area. Sky-blue icons, a light border and a lighter card background on hover.

Free delivery
On orders over £50
30-day returns
Unworn and unwashed
2-year guarantee
On all tents and packs
Plastic-free
Paper and card packaging
Talk to an expert
Mon to Sat, 9am to 6pm
Buttons and a gradient

Reasons to join a local gym

A purple gradient area and white cards with a button in each. Hover a card to stop it, then press the button.

Open 24/7
Train before work, after work or at 3am.
40 classes a week
From spin to strength, all included.
25m pool
Lane swimming every morning.
Free health check
A full MOT with a trainer when you join.
How it works

Three steps to bouncing cards

Add your cards, then set the area and speed.

1

Add the element

Drop Bouncing Cards onto your page and set the width and height of the area.

2

Add your cards

Give each card an icon, a heading, some text and an optional button.

3

Set the speed and style

Choose how fast the cards move, then style the cards, text and button.

Features

A playful way to show info

Good for short messages that visitors can catch and read.

Bounce off the edges

Each card starts in a random spot and direction, then bounces off the sides of the area.

Stops on hover

Hovering over a card pauses it and brings it in front of the others.

Speed control

Set a speed from 0 to 100. 10 is normal speed, lower is slower and higher is faster.

Cards and content

Add as many cards as you like, each with an icon, heading, text and button.

Hover styles

Change the card background, borders, text colours and icon colour on hover.

Area size

Set the width, height, background and borders of the area the cards move in.

Use cases

Where it works best

Anywhere you want visitors to stop and look.

01

Feature highlights

Let short feature cards drift around a section of your homepage.

02

Testimonials

Show short quotes that visitors can pause and read.

03

Event pages

Float speakers, sessions or key dates around the page.

04

Kids and creative brands

Add movement to sites with a fun, playful tone.

05

Offers

Put a few offers in cards, each with a button to claim it.

06

Portfolio intros

Show skills or services as cards that move around your intro.

Settings reference

Every control, explained

This is the full list of settings in the Breakdance editor, with their default values.

ControlWhat it doesDefault
Content
CardsRepeater. Each card has an Icon, Heading, Content (plain text) and Button.1 card
Container
WidthWidth of the area the cards move in.100%
HeightHeight of the area.500px
Background ColorSolid or gradient background for the area.—
BordersBorder, radius and shadow of the area.—
Cards
SpeedHow fast the cards move, from 0 to 100. 10 is normal speed.10
WidthWidth of each card, per breakpoint.300px
Background ColorCard background, solid or gradient, with a hover colour.White
BordersCard border, radius and shadow.—
PaddingSpace inside each card.10px
Hover BordersCard border, radius and shadow on hover.—
Content
Icon SizeWidth and height of the icon.40px
Icon ColorIcon colour, with a hover colour.#000000
Space Below IconGap under the icon.10px
Title TypographyHeading style, with a hover colour.20px, 600
Space Below TitleGap under the heading.10px
Content TypographyText style, with a hover colour.16px
Space Below ContentGap under the text.10px
Button
ButtonStyle, colours, size and typography of the card buttons.—
Tips & FAQ

Good to know

Can visitors still click the buttons?

Yes. Hovering over a card stops it, so the button is easy to click.

How do I slow the cards down?

Lower the Speed setting. 10 is normal speed, 5 is half speed and 20 is double.

Where do the cards start?

Each card starts in a random position with a random direction, so the layout is a little different on every visit.

What happens when the window is resized?

The cards stay inside the area and keep bouncing within its new size.

How many cards should I add?

Keep it to a handful so each card has room to move and can be read. Make the area taller if you add more.

Add Bouncing Cards to your next page

Bouncing Cards is included with Phox Elements, along with 140+ other premium elements for Breakdance.