bootstrap center 3 col-md-3 divs

后端 未结 5 1202
既然无缘
既然无缘 2021-02-19 21:27

I have a wrapper like so:

and inside this wrapper I have 3 col-md-3 divs:

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-19 22:23

    Code :

    css :

    @media (min-width: 768px) {
    .community-margin{
        margin-left: 12.5%;
    }
    }
    
    .community-images {
      padding: 40px 0px 40px 0px;
    }
    
    .col-md-3 {
      border: 1px solid #ccc;
      padding: 10px;
      margin: 10px;
      min-height: 300px;
      box-shadow: 10px 10px 5px #888888;
    }
    

    Try above code. You definitely get a solution. You can refer below link also : https://wordpress.com/post/wpkuldip.wordpress.com/61

提交回复
热议问题