<script> document.addEventListener('DOMContentLoaded', function() { jQuery(function($){ $('.showme').click(function(){ $(this).closest('.elementor-section').next().slideToggle(); $(this).toggleClass('opened'); }); $('.closebutton').click(function(){ $(this).closest('.elementor-section').prev().find('.showme').click(); }); }); }); </script> <style> .showme a , .showme i , .showme img, .closebutton a, .closebutton i, .closebutton img{ cursor: pointer; -webkit-transition: transform 0.34s ease; transition : transform 0.34s ease; } .opened i , .opened img , .opened svg{ transform: rotate(90deg); } </style>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter