Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How can I make same height buttons?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #249564
    Ayala
    Participant

    Hi!

    http://codepen.io/Ayalann/pen/MJgLVZ

    Make the screen smaller and you will see that the height of buttons aren’t the same.

    How can I fix this?

    I want that the small buttons fill that space and all have the same height.

    #249574
    damcel
    Participant

    Fixed:-)

    http://codepen.io/damianocel/pen/jyNJJP

    Just add same line height and font size:-) This also centers text nicely.

    Ok, you have now a block layout for small screens and the text fits within the buttons, let me know if this is how you wanted it.

    #249585
    Ayala
    Participant

    It has the same problem. I need the buttons have same height when I resize the screen.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.