just used this tutorial, and thought I'd mention that if you add style="transition: none;" after the class="collapse show", you can more closely imitate a closing window as there's no animation
I'm well aware. However, the idea for this snippet was only to provide the basic outline to make a functional button. It is up to the user to make use of the class and style attributes to customize the button and its effect to their preference. ^^
oh sorry, I didn't mean to come off like I was teaching you anything, I just thought it might be helpful for anyone else coming to the page to check out the code
✂ An Actual Close Button's Comments