Класс | Свойства |
---|---|
line-clamp-${int} | overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: ${int}; |
line-clamp-none | -webkit-line-clamp: unset; |
export default {
extend: {
lineClamp: {
sm: '3',
lg: '10',
},
},
plugins: [
require('windicss/plugin/line-clamp'),
// ...
],
}