+ 1

How do I make 3 buttons to ocuppy all the screen width with no margins or space between them?

I want three buttons to touch each other inline while taking the full width of the screen. Any help appreciated. Using Html & Css

31st Oct 2018, 9:57 PM
Emmanuel Molina Toledo
Emmanuel Molina Toledo - avatar
9 odpowiedzi
+ 2
Here you go :) https://code.sololearn.com/WvfrqG453wfL/?ref=app [updated] maybe this is more what you want?
31st Oct 2018, 10:23 PM
xpnvdo
xpnvdo - avatar
31st Oct 2018, 11:12 PM
KrOW
KrOW - avatar
+ 3
xp nvdo I posted it only for make know to he that exists multiple ways to do this (and i didnt coded all ways 😃)
31st Oct 2018, 11:26 PM
KrOW
KrOW - avatar
+ 2
Emmanuel Molina Toledo Every button on top of other (vertical disposed) or all button on single row (hodrizontal disposed)?
31st Oct 2018, 10:26 PM
KrOW
KrOW - avatar
+ 2
Another good answer, more in depth. 👍
31st Oct 2018, 11:23 PM
xpnvdo
xpnvdo - avatar
+ 2
KrOW that's the beauty of coding there's always a way. Sometimes more than one.
31st Oct 2018, 11:27 PM
xpnvdo
xpnvdo - avatar
+ 2
xp nvdo Yes, i fully agree with you,👍👍👍
31st Oct 2018, 11:28 PM
KrOW
KrOW - avatar
+ 1
All buttons in a single row (horizontally Disposed)
31st Oct 2018, 10:32 PM
Emmanuel Molina Toledo
Emmanuel Molina Toledo - avatar
+ 1
Awesome Answers! So whats doing the job is the flex property. I had the buttons display as inline-block but was still getting some space between them. Flex display had it fixed for me. Its Incredible how it can be done in diferent ways.
4th Nov 2018, 9:48 PM
Emmanuel Molina Toledo
Emmanuel Molina Toledo - avatar