gulp-community / gulp-less

A LESS plugin for Gulp
559 stars 116 forks source link

-webkit-box-orient: vertical; not transfer to css? #300

Closed wxungang closed 6 years ago

wxungang commented 6 years ago
.ellipsis(@n) when (@n>1) {
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  //white-space: nowrap;

  -webkit-line-clamp: @n;
  -webkit-box-orient: vertical; //will not export to css!!
  display: -webkit-box;
}

.ellipsis(@n) when (default()) {
  //word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

//exports your module
.up-ellipsis(@n:1) {
  .ellipsis(@n) !important;
}
stephenlacy commented 6 years ago

Not a valid issue, also opened on the wrong project.