I have created a dropdown list. In my dropdown list there are some contents. If the user clicked on the dropdown I want to hide the border-bottom of the dropdown and if the user clicked on dropdown again the dropdown should returned to the default state(means the border-bottom will show if there is no clicked)I have attached the two images. 1st one is default and the 2nd one after clicked on the dropdown… if the user clicked on dropdown again then the dropdown will show the 1st image.