+ 7
I'm unable to center-align the Google and Facebook buttons. Can someone give some suggestions?
10 Respuestas
+ 10
Set your margin to 0.5rem 4.5rem in CSS for button.googlebutton and button.fbbutton. The 4.5rem sets it away from the edge that is, 4.5rem from both left and right. While the 0.5rem for the top and bottom.
+ 10
Saptarshi Ghosh
Perhaps you can apply the Biraj code to just the google and facebook buttons because the create account and cancel buttons on the same line looks better.
+ 5
Miracle Osoh
Okay
+ 5
Miracle Osoh
I included the 'create account' button and the 'cancel' button in a div element now.😅
+ 4
Biraj
Thanks a lot.
Taking div#form was center aligning the labels too, so I created a new div element including the buttons and included your part. It worked great!!😀😀
+ 4
Biraj
Will surely make it neat😅
+ 3
Gosh you learnt all that through solo learn😲
+ 1
Bro you can keep outline: none; and outline: 0; for you google and Facebook buttons.
0
حیا همدرد