0

How do I move the button wherever I want on the screen?

Help me? https://code.sololearn.com/WHAwed6tE16Q/?ref=app

4/19/2019 1:20:21 AM

Neymar Silva

12 Answers

New Answer

+8

Which button do you want moved and where do you want it? The first can be moved to bottom left easy. The other three are relative to it so moving them is harder. Moving the first to the top would require changing the others to go below the first.

+4

https://code.sololearn.com/W5qzCqbFR66L/?ref=app

+4

Check this: HTML: <button id="button"></button> CSS: #button { position: fixed; right: 25px; bottom: 25px; width: 70px; height: 70px; border-radius: 35px; background-color: #5b19b7; border: none; }

+3

20 Buscar I just help you to tidy up your codes, i do not change any code, because i don't understand which button are you referring to .

+3

This .fab { position: fixed; bottom: 10px; left: 70px; } Would move the whole group to left side

+2

.fab{ position: fixed; bottom:10px; right:10px; }

0

No result

0

John Wells help?

0

Calviղ ?

0

20 Buscar Of course there is no result, because this is the position of the code button that you provided. I just highlighted the part of the code in which you need to change the values ​​according to your desire. And you just copied and pasted? -) In order for the result to be, you need to start learning CSS. Well, or at least learn how to disassemble the code into its components, as Calvi did ղ and work with it. Do not be afraid to make changes ☺

0

Yes I know why I called you! thank you Calviղ

0

but what I want is to move the button equal to the pc mouse's target I want to move only the purple