diff options
author | 2021-12-27 15:58:27 +0100 | |
---|---|---|
committer | 2021-12-27 15:58:27 +0100 | |
commit | bd13286d87e6273db0f55e8fd95ba3730171def4 (patch) | |
tree | e577625a7afbe553925c8c99e2c50ae302a32362 /assets/js/resume.js | |
download | website-bd13286d87e6273db0f55e8fd95ba3730171def4.tar.gz website-bd13286d87e6273db0f55e8fd95ba3730171def4.zip |
Initial commit
Diffstat (limited to 'assets/js/resume.js')
-rw-r--r-- | assets/js/resume.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/assets/js/resume.js b/assets/js/resume.js new file mode 100644 index 0000000..1512413 --- /dev/null +++ b/assets/js/resume.js @@ -0,0 +1,14 @@ +$(document).ready(function() { + $(".percentage > div").each(function () { + $(this).css("visibility", "hidden"); + }); + + $(".percentage > div").each(function () { + var width = $(this).width(); + $(this).width(0); + $(this).css("visibility", "visible"); + $(this).animate({ + width: width + "px" + }, 1500 ); + }); +});
\ No newline at end of file |