Button component with slider confirmation | Community
Skip to main content
Level 3
June 26, 2024
Solved

Button component with slider confirmation

  • June 26, 2024
  • 2 replies
  • 611 views

Hello,

I am using aem6.5 need to have slider confirmation button which will look like below

 

initially look of the button will be 

 

 

After user completes the slide it must look like below

 

It looks like more on CSS tricks and looked on few sites and could find a solution.Hence posting here if any one has
done this and could help me out with code sample as how could I acheive it

I currently have below code. How to modify to achieve it
<button id="slider">
<input id="confirm" type="range" value="0" min="0" max="100" />
<span >File deleted.</span>
</button>

 

Regards,
Srinivas

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by EstebanBustamante

Hi, 

This is a plain CSS question, you can try to explore additional forums to this one. But I think you can find your solution in this code pen example: https://codepen.io/RazorXio/pen/gMaoOW 

Hope this helps

2 replies

arunpatidar
Community Advisor
Community Advisor
June 26, 2024
EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
June 26, 2024

Hi, 

This is a plain CSS question, you can try to explore additional forums to this one. But I think you can find your solution in this code pen example: https://codepen.io/RazorXio/pen/gMaoOW 

Hope this helps

Esteban Bustamante