Answers for "jquery transform scale"

1

jquery transform scale

I've actually tested below and seems to be working?

$('.sc-bar').css('transform','scaleY(0.5)');
Is the line enclose on $(document).ready() or made sure that jQuery is loaded before using this like below?

// A $( document ).ready() block.
$(document).ready(function() {
    // your code here...
    $('.sc-bar').css('transform','scaleY(0.5)');
});
Posted by: Guest on March-01-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language