0

how to fix text and icons on a button in same horizontal line?

I'm using an icon and text on button but the text goes some downside wrt icon. vertical-align in style is also not working for the text.how can i fix it?

17th Apr 2020, 2:26 AM
Divya Mohan
Divya Mohan - avatar
2 Antworten
0
Use this css: display : flex; flex-flow: column; align-content: center;
17th Apr 2020, 3:08 AM
Arvind Singh Rawat
Arvind Singh Rawat - avatar
0
but this time it makes text a little bit up to the icon . can i get more perfect result?
17th Apr 2020, 10:38 AM
Divya Mohan
Divya Mohan - avatar