How to Center three Div's inside another Div

前端 未结 3 799
無奈伤痛
無奈伤痛 2021-01-28 08:41

this has been trying my patience for about an hour so I thought I would ask.

I need to have three divs, centered inside another div that is inside another div lol. Here

3条回答
  •  无人共我
    2021-01-28 09:19

    Change the last rule to:

    .frontboxes {
        margin: 6px auto;
    }
    

    and remove the float: left;s.

提交回复
热议问题