Fixed bottom button


#1

i want to set a button on bottom that should remain fixed on the screen even if i use scroll.
can anyone tell me how to do it


#2

Hello,
Just put a button out of your content, with potition absolute for example :

.button_fixed{
position : absolute; 
bottom:5vh;
left : 5vw;
width:90vw;
}

Will do a centered bottom button with a 90% width


#3

thanks budy. it works


#4

Nice One! it worked , but what the meaning of vh and vw ?


#5

Vh means view height, And vw means view width.
It’s a measurement unit useful with phones/tablets, as y ou can build buttons based based on phone width and phone height