JavaScript Add CSS Transition between image switch

In my site I have a switch between a down arrow & and an up arrow. See here

How do I change this to a CSS transition, so there's a brief break between the switch?

Here's my code:

function close_accordion_section(source) {
    $(source).parent().find('.accordion-section-title').removeClass('active');
    $(source).parent().find('.accordion-section-content').slideUp(300).removeClass('open');
}

$('.accordion-section-title').click(function (e) {
    if ($(e.target).is('.active')) {
        close_accordion_section(e.target);
    } else {
        $(this).addClass('active');
        $(e.target).parent().find('.accordion-section-content').slideDown(300).addClass('open')
    }

    e.preventDefault();
});
.accordion {
    overflow: hidden;
    margin-bottom: 40px;
}
.accordion-section {
    padding: 15px;
    border: 1px solid #d8d8d8;
    background: #fbfbfb;
}
.accordion-section-title {
    width: 100%;
    display: inline-block;
    background-image: url("https://cdn3.iconfinder.com/data/icons/google-material-design-icons/48/ic_keyboard_arrow_up_48px-512.png");
    background-size: 5% 100%;
    background-repeat: no-repeat;
    background-position: top right;
}
.accordion-section-title.active {

  background: url("https://cdn3.iconfinder.com/data/icons/google-material-design-icons/48/ic_keyboard_arrow_down_48px-128.png") top right no-repeat;
     background-size: 5% 100%;
    background-repeat: no-repeat;
}
.accordion-section-title.active, .accordion-section-title:hover {
    text-decoration: none;
    transition: color 0.1s linear;
}
.accordion-section-content {
    padding: 15px 0;
    display: none;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<div class="accordion">
    <div class="accordion-section"> <a class="accordion-section-title" target='_blank' href="#accordion-1">More information</a>

        <div id="accordion-1" class="accordion-section-content">
            <p>Text.</p>
            <p>
        </div>
    </div>
</div>
Answer:1

When hitting https://login.salesforce.com/services/oauth2/token, using Postman. POST https://login.salesforce.com/services/oauth2/token Response: I receive a token, but when I try to do something ...

When hitting https://login.salesforce.com/services/oauth2/token, using Postman. POST https://login.salesforce.com/services/oauth2/token Response: I receive a token, but when I try to do something ...

I'm using DateFNS and I need to generate a countdown with it. distanceInWordsToNow only outputs in about 3 years but I need the exact time like 3 Years, 11 Months, 20 Days, 3 Hours, 2 Minutes. How to ...

I'm using DateFNS and I need to generate a countdown with it. distanceInWordsToNow only outputs in about 3 years but I need the exact time like 3 Years, 11 Months, 20 Days, 3 Hours, 2 Minutes. How to ...

  1. countdown with date
  2. countdown date and time
  3. countdown date in excel
  4. countdown date and time timer
  5. countdown date on iphone
  6. countdown date for desktop
  7. countdown date in javascript
  8. countdown date in powerpoint
  9. countdown date in php
  10. countdown date in android
  11. countdown to date with picture
  12. countdown to date with months
  13. countdown to date app
  14. countdown to date calculator
  15. countdown to date timer
  16. countdown to date online
  17. countdown to date clock
  18. countdown to date widget
  19. countdown to date without weekends
  20. countdown to date html

I am still getting to grips with jQuery and wondered if anyone had a suggestion for this? Basically on click I want to show the div with the matching class, so if you click the btn with class '....

I am still getting to grips with jQuery and wondered if anyone had a suggestion for this? Basically on click I want to show the div with the matching class, so if you click the btn with class '....

  1. show hide with animation
  2. show hide with css
  3. show hide with animation css
  4. show hide with transition css
  5. show hide with animation android
  6. show hide with effect jquery
  7. show hide with checkbox jquery
  8. show hide with fade jquery
  9. show hide with css only
  10. show hide with radio buttons javascript
  11. show hide with animation angular 6
  12. show hide with toggle jquery
  13. show hide with bootstrap
  14. show hide with transition jquery
  15. show hide with js
  16. show hide with radio button
  17. show hide with checkbox
  18. show hide with angular
  19. show hide with php
  20. hide show with transition

I'm quite new in Node.js (and Javascript in general) programming and I have a huge doubt. I would like to restyle some code I've written in order to fit the OOP style, so I need to define some classes:...

I'm quite new in Node.js (and Javascript in general) programming and I have a huge doubt. I would like to restyle some code I've written in order to fit the OOP style, so I need to define some classes:...

  1. javascript class definition example
  2. javascript class definition best practice
  3. javascript class definition
  4. javascript class definition prototype
  5. javascript class definition syntax
  6. javascript class definition internet explorer
  7. javascript class definition es6
  8. javascript class definition constructor
  9. javascript class definition property
  10. javascript export class definition
  11. javascript class method definition
  12. javascript class function definition
  13. javascript change class definition
  14. javascript class variable definition
  15. javascript dynamic class definition
  16. javascript get class definition
  17. javascript delete class definition
  18. javascript add class definition
  19. javascript object class definition
  20. javascript import class definition