jQuery Tip Cards – Create A Google Tips Card Animation For Your Website

Editor's note (2026): This post is from 2014. The Google Tips site that inspired this plugin is gone, and the plugin is no longer maintained. Today the same effects can be built with CSS transforms, transitions, and a small amount of JavaScript, without jQuery. We've fixed the code formatting below.

In 2014, Google launched a Google Tips site to help people learn its products. It used playful animated cards that flew in, tilted on hover, and flipped to reveal tips. The jQuery Tip Cards plugin recreated that effect for any website.

How it works

  1. When the page loads, the cards fly in with an entrance animation.
  2. When you hover over a card, it tilts slightly.
  3. When you click a card, the others fly in from all directions and stack neatly behind it.

The fly-in and tilt effects use CSS3 transforms. JavaScript's setTimeout (including nested timeouts) sequences the animations so they run in the right order.

Markup for two-sided (flippable) cards

<ul class="tips">
  <li>
    <div class="tc_front">
      <a href="#tip1">…</a>
    </div>
    <div class="tc_back">…</div>
    <div id="tip1" class="tip">
      <div class="tc_front">…</div>
      <div class="tc_back">…</div>
    </div>
  </li>
</ul>

Markup for one-sided cards

<ul class="tips">
  <li>
    <a href="#tip1">…</a>
    <div id="tip1" class="tip">…</div>
  </li>
</ul>

JavaScript

$(".tips").tip_cards({
  entrance: "bottom",
  column: 4,
  margin: "1%",
  selector: "> li",
  hoverTilt: "right",
  triggerSelector: "> li a",
  cardFlyDirection: "all",
  closeButton: "X",
  flipButton: "Flip",
  navigation: true,
  beforeOpen: null,
  afterOpen: null
});

Useful options

  • entrance: the direction cards fly in from ("left", "right", "top", or "bottom").
  • column: how many cards per row.
  • margin: spacing between cards.
  • selector: which elements are treated as cards.
  • hoverTilt: the direction cards tilt on hover.

Experiment with the options to get the effect you want.


Need help adding engaging interactive features to your website? I.T. For Less can help — contact us.

I.T. Support