H5文章只显示6行,超出显示...

.article-intro {
margin-top: 0.15rem;
font-size: 0.12rem;
color: #666666;
line-height: 0.18rem;

  word-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;

  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
}

你可能感兴趣的:(H5文章只显示6行,超出显示...)