Bootstrap 4 card/panel with image left of header and title

后端 未结 2 1262
余生分开走
余生分开走 2021-02-03 23:40

I thought what I\'m trying to do would be pretty easy to do but I just can\'t make it work.

I tried to do pull-left on bootstrap cards and panels and it\'s not working t

2条回答
  •  日久生厌
    2021-02-04 00:14

    There are a few different ways you could do this. Here's one way using the flex-row and flex-wrap utility classes to change the layout of elements inside the card...

    https://www.codeply.com/go/l1KAQtjjbA

       

    Title

    Description

    BUTTON

    Here's another approach using the grid...

      

    Title

    Description

    BUTTON

    https://www.codeply.com/go/l1KAQtjjbA

    I'm not sure why you have text-center as nothing it centered in the desired example image.

提交回复
热议问题