.contents{
text-align: center;
margin-bottom: 15px !important;
}
.instagram {
background-image: url("https://snd-assets.s3.amazonaws.com/icons/flat/instagram.png");
}
.logos.logos-lg{
background-size: 120px auto;
height: 120px;
width: 120px;
}
.logos{
margin: 0 auto 15px;
background-position: 1px 1px;
background-repeat: no-repeat;
display: block;
}
.box_panel{
width: 100%;
height: 132px;
border: 1px solid #ddd;
border-radius: 4px;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
overflow: hidden;
}
.box_icon{
float: left;
background-color: #f5f5f5;
border-right: 1px solid #ddd;
margin: 0px 15px 0px 0px;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.box_icon .logos{
margin: 5px auto !important;
}
.box_body{
padding: 15px;
text-align: left;
}
.box_body h4{
font-weight: bold;
}
<div class="col-lg-4 col-md-6 col-sm-6 col-xs-12 contents">
<div class="box_panel">
<div class="box_icon">
<div class="logos logos-lg instagram"></div>
</div>
<div class="box_body">
<h4>Title</h4>
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live. Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-6 col-xs-12 contents">
<div class="box_panel">
<div class="box_icon">
<div class="logos logos-lg instagram"></div>
</div>
<div class="box_body">
<h4>Title</h4>
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live. Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-6 col-xs-12 contents">
<div class="box_panel">
<div class="box_icon">
<div class="logos logos-lg instagram"></div>
</div>
<div class="box_body">
<h4>Title</h4>
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live. Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-6 col-xs-12 contents">
<div class="box_panel">
<div class="box_icon">
<div class="logos logos-lg instagram"></div>
</div>
<div class="box_body">
<h4>Title</h4>
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live. Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
Some Text long text description goes here in the body of the panel box, just a filler for the real content that will stay here once this goes to live.
</div>
</div>
</div>
您是否嘗試過使用'文本溢出後
包裝文本:省略號;'你要控制的文本選擇? [更多信息](https://developer.mozilla.org/en-US/docs/Web/CSS/text-overflow),[文本溢出兼容性](http://caniuse.com/#search=text-溢出) –
也試過那個。不工作。 – Paul