From b2b761f5b1b8806b0d31fa84e09cb1e62b1b2a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Ant=C3=BAnez?= Date: Wed, 31 May 2017 11:42:04 +0200 Subject: [PATCH] adding li --- src/scss/modules/_flexblock-reasons.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/scss/modules/_flexblock-reasons.scss b/src/scss/modules/_flexblock-reasons.scss index 3b07874..31451b4 100644 --- a/src/scss/modules/_flexblock-reasons.scss +++ b/src/scss/modules/_flexblock-reasons.scss @@ -4,11 +4,11 @@ text-align: left; width: 100%; - &:hover { + li:hover { transform: translateY(-.2rem); } - &:after { + li:after { bottom: -2.4rem; content: ''; display: block; @@ -16,7 +16,7 @@ position: relative; } - &:before { + li:before { content: counter(list)'.'; font-size: 6.4rem; line-height: 1; @@ -24,11 +24,11 @@ } @media (min-width: 768px) { - padding-left: 8.8rem; + li { padding-left: 8.8rem; /* You need two digits? (1-10)*/ /*padding-left: 12rem; */ } - &:before { + li:before { left: 2.4rem; position: absolute; }