tissue/resources/assets/sass/components/_link-card.scss

21 lines
377 B
SCSS
Raw Normal View History

.link-card {
.row > div:last-child {
max-height: 400px;
overflow: hidden;
// 省略を表す影を付けるやつ
&::before {
position: absolute;
top: 0;
2019-03-10 21:49:23 +09:00
left: 0;
width: 100%;
height: 100%;
content: '';
background: linear-gradient(transparent 320px, white);
}
}
.card-text {
white-space: pre-line;
}
}