Smooth CSS Transition for Expanding Search Container
-
Hi,
I need to implement a smooth CSS transform transition for expanding a search container when the user clicks on the search icon. Currently, no classes are being added after clicking the icon. Here is the existing JavaScript code:
jQuery(document).on(‘click’, function (e) {
if(e.target.id !==”toggle-search”){
jQuery(‘#toggle-search’).siblings().hide();
}else{
jQuery(‘#toggle-search’).siblings().show();
? ? ? }
});
Could you please help with adding the necessary CSS transitions to achieve the desired effect?The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.