From 16005931fc001607fb7184969d147cf3189d7dd0 Mon Sep 17 00:00:00 2001 From: shibafu Date: Sun, 10 Mar 2019 21:49:23 +0900 Subject: [PATCH] fix style --- resources/assets/sass/components/_link-card.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); } }