having a bit of trouble. I need to have something switch from display: none to display: flex, display: flex-box, and display: -ms-flexbox but it seems to be breaking my code.. Here's what I have so far:
$(elem).css({'display': 'flex', 'display': '-webkit-flex', 'display':'-ms-flexbox'});
and while this works:
$(elem).css({'display': 'flex'})
I need to have the other two for safari and IE10. Is there any way of writing this so that it doesn't break my code? Jquery seems confused by this syntax.