jQuery .css() many

PHOTO EMBED

Mon Apr 26 2021 10:02:06 GMT+0000 (Coordinated Universal Time)

Saved by @Sikor #javascript #jquery

$('.page-header').css({
  '-webkit-transform' : 'translateY(' + topbarHeight + 'px)',
  '-moz-transform'    : 'translateY(' + topbarHeight + 'px)',
  '-ms-transform'     : 'translateY(' + topbarHeight + 'px)',
  '-o-transform'      : 'translateY(' + topbarHeight + 'px)',
  'transform'         : 'translateY(' + topbarHeight + 'px)'
});
content_copyCOPY