I am a newbie in front-end development, so please bear with me if the question is too basic. What I am trying to achieve is very similar to the following problem:
How do I move the search bar on SO's website to the left without affecting the other elements? I can't use the margin-left property since that would move the other elements as well. Is there any way to achieve this? Thanks!
You can use margin-left negative + margin-right positive;
margin-left: -10px;
margin-right: 10px;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With