Jump to content
Search Community

giovannimalausa

Members
  • Posts

    3
  • Joined

  • Last visited

giovannimalausa's Achievements

  1. Hi everyone, I'm trying to make a slider using this helper function (horizontalLoop). I've read the documentation and I don't understand how to change the scale of the current element (the one centred) in the loop, in a way that makes the current (centred) element bigger than the rest. I tried applying a custom class each time an element is "current" .current {scale: 1.2} The class applies correctly but the the inspector shows it is bypassed by element.style { translate: none; rotate: none; scale: none; transform: translate(0px, 0px); } I think these values are applied by the helper function. I'm kinda stuck, so any help would be much appreciated. Thank you, Giovanni
×
×
  • Create New...