Change the opacity when i click the button

Hi
here is my problem
I would like that when I click on the button, the slider div can change the opacity without showing the movement of the translate
here is my codepen:

I’m not sure I understand exactly what you are asking?

Do you mean you don’t want the slider div to move to the right each time you click the button? If so, that’s seems pretty easy to fix, just get rid of the CSS that is causing it to move. But again, I’m not sure if this is what you are asking. If not, please be a little more specific.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.