Skip to content

Instantly share code, notes, and snippets.

@UltCombo
Last active December 22, 2015 09:48
Show Gist options
  • Save UltCombo/6454017 to your computer and use it in GitHub Desktop.
Save UltCombo/6454017 to your computer and use it in GitHub Desktop.

Revisions

  1. UltCombo revised this gist Sep 5, 2013. 1 changed file with 12 additions and 2 deletions.
    14 changes: 12 additions & 2 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,16 @@
    var $el = $('div');
    (function loop() {
    $el.animate({ 'border-radius': '50%' }, 500, function() {
    $el.animate({ borderRadius: '0%' }, 500, loop);
    $el.animate({
    'border-top-left-radius': 100,
    'border-top-right-radius': 100,
    'border-bottom-left-radius': 100,
    'border-bottom-right-radius': 100
    }, 500, function() {
    $el.animate({
    borderTopLeftRadius: 0,
    borderTopRightRadius: 0,
    borderBottomLeftRadius: 0,
    borderBottomRightRadius: 0
    }, 500, loop);
    });
    }());
  2. UltCombo created this gist Sep 5, 2013.
    6 changes: 6 additions & 0 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    var $el = $('div');
    (function loop() {
    $el.animate({ 'border-radius': '50%' }, 500, function() {
    $el.animate({ borderRadius: '0%' }, 500, loop);
    });
    }());