3 Div boxes do not fit in the container

耗尽温柔 提交于 2019-12-02 11:02:44

Your HTML code is fine.

Problem lies with your CSS

.package {
  width: 350px;
  height: 230px;
  background-color: rgba(0,0,0,0.6);
  border: 15px solid rgba(52,53,48,0.6);
  margin: 50px 0 0;
  padding: 25px 20px;
}

You shouldn't hard code the width with some pixel value rather remove the pixel value.

Hope this will help you.

Remove the <div class="container"></div> you already have one right after .inner-container.
And Content should be placed within columns, and only columns may be immediate children of rows.

Remove width: 350px from .package div from css.

#service-one .package {
   width: auto !important;
}

Or add this style on css files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!