+ 1

What is the most effective way to align items vertically in a container without using margin.

For example: I want to align my button vertically with the h3 tag in my code. Can you please give me a solution to this. https://code.sololearn.com/W6r5KDEB0OdZ/?ref=app

30th Jul 2020, 5:16 PM
ÑēŮțŘØÑ
4 Antworten
+ 1
You can try with position:absolute And make the h3 tag and btn at same line without using margin
30th Jul 2020, 5:23 PM
v@msi😉
v@msi😉 - avatar
+ 1
Where should I put position absolute.
30th Jul 2020, 5:23 PM
ÑēŮțŘØÑ
+ 1
Nevermind. Thanks
30th Jul 2020, 5:24 PM
ÑēŮțŘØÑ
30th Jul 2020, 5:27 PM
v@msi😉
v@msi😉 - avatar