버튼의 뒷배경에 gradient 로 스르륵 사라지는 slider 를 만들때는 ::before 과 같은 가상선택자를 쓰는게 좋다.
https://green-webdesigner.tistory.com/20