Examples

  1. Default
  2. Margins
  3. Set on Click

Default

Creates a div that animates when you mouse over sibling elements.

dandelion seeds lake park bike

Margins

Calculates margins when determining the width and height of the lava lamp object.

dandelion seeds lake park bike

Set on Click

The lava lamp object sets a new active element when you click on it. You still have to set a default active element or the lavalamp won't initialize correctly.

dandelion seeds lake park bike

适用浏览器:FireFox、Chrome、Safari、Opera、傲游、搜狗. 不支持IE8、360、世界之窗。

代码整理:站长图库