Lights
KPCKevin Powell - Community
•Created by Lights on 12/20/2023 in #front-end
Need help in positioning button elements.
This is my simple html here:
and here is my CSS code:
In this code I'm basically trying to do align the button (button span) inside the button by using relative and position but for some reason, and I wanna use left and right property in it but when I use it. It does work but it moves left and right taking body as its parent element and not the button. Even though I've set the button to relative and buttons span: absolute.
6 replies