Ayush Gupta
1 min readJul 19, 2019

--

To move the logout button to the far right side, we can target that element and give it a margin:

header > div:nth-child(3) {
margin-left: auto;
}

--

--

Ayush Gupta
Ayush Gupta

Written by Ayush Gupta

Mobile Frontend Engineer at Razorpay | Developer, Blogger, Amateur Photographer | ayushgupta.tech | Curating scriptified.dev

No responses yet