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

Home Forums CSS Dividing a into two equal rows, each row being an

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #270245

    I’m trying to replicate this click but I can’t really seem to get how to do it. That’s what I tried so far:

    I tried wrapping a’s into spans, but it didn’t work.
    I think I need to wrap the a’s tbh, and asign 50% of width to each one, or at least to one of them.
    How can I do it?


    Didn’t understand your problem though. Be little more specific about your problems.

    Maybe you need to make all your “a” tags to display: block or display: inline-block according to your needs.


    Maybe you mean something like this?
    When using display flex, and use, in this case, flex grow, the items will be devided equally over the amount of space.

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