Line 10: | Line 10: | ||
$("#main-container #button").width() * 1.05 | $("#main-container #button").width() * 1.05 | ||
) | ) | ||
− | $("#main-container #button").css('border-radius' | + | var len = $("#main-container #button").css('border-radius').length |
+ | var per = $("#main-container #button").css('border-radius').slice(0,len-1) | ||
+ | $("#main-container #button").css('border-radius',(per*.95)+"%") | ||
} | } | ||
if ( | if ( |
Revision as of 04:05, 17 October 2018