Xila of Dev biznet
6/6/2019 - 8:38 AM

Slide toggle

Hide content, click to show.

Warning : margin don't animate with toggle

$(".wrapper_question").click(function(event){
        $(this).closest(".wrapper_question").find(".reponse").slideToggle();
         event.preventDefault();
}); 
    
$('.wrapper_question').click(function() {
        $(this).toggleClass('down');
});
.reponse {
  display: none;
}

.wrapper_question.down .arrow {
  transform: rotate(90deg);
}
<div class="wrapper_question">
      <img class="arrow" src=""/>
      <div class="question">
          <p>Lorem ipsum</p>
      </div>
      
      <div class="reponse">
        <p>Lorem ipsum dolor sit amet</p>
      </div>
</div>