1I've actually tested below and seems to be working?
2
3$('.sc-bar').css('transform','scaleY(0.5)');
4Is the line enclose on $(document).ready() or made sure that jQuery is loaded before using this like below?
5
6// A $( document ).ready() block.
7$(document).ready(function() {
8 // your code here...
9 $('.sc-bar').css('transform','scaleY(0.5)');
10});