0

I'm trying to hide my element towards center like this example here. I'm using react.js and somehow this jQuery code isn't working.

$('#img-funder-logo').hide('scale', { percent: 0 }, 1000).fadeIn(2000);

Any reason why this won't work with react? How can I go about doing it?

Rory McCrossan
  • 331,213
  • 40
  • 305
  • 339
Phakamani Xulu
  • 259
  • 5
  • 14

1 Answers1

0

So An easy way to achieve this without going through setting up jquery-ui, you just need to align the item you fading center using css/scss , in this case it was an image text-align: center

Phakamani Xulu
  • 259
  • 5
  • 14