diff --git a/resources/assets/sass/components/_link-card.scss b/resources/assets/sass/components/_link-card.scss index db5bf43..846fde9 100644 --- a/resources/assets/sass/components/_link-card.scss +++ b/resources/assets/sass/components/_link-card.scss @@ -5,12 +5,12 @@ // 省略を表す影を付けるやつ &::before { - content: ''; + position: absolute; + top: 0; + left: 0; width: 100%; height: 100%; - position: absolute; - left: 0; - top: 0; + content: ''; background: linear-gradient(transparent 320px, white); } }