this is my icon style.
.select::after {
/* content : "▼"; */
content: '▲';
position : absolute;
top : 0;
right : 0;
padding : 0 1em;
background : #e100ff;
color : #fff;
cursor : pointer;
pointer-events : none;
-webkit-transition: 0.25s all ease;
-o-transition : 0.25s all ease;
transition : 0.25s all ease;
}
what I want is to replace the icon, when the icon is clicked. how can I achieve that?