HTML, CSS, JQuery: Size doesn't change when using .css()
I’m trying to make a dynamic element using jQuery, CSS and HTML. When I click on it, the function to resize the element gets executed and works properly, also revealing the "close" icon. But when I click on the close icon, the function to close the panel gets correctly executed BUT the element won’t resize.