From a2662960ef57ba469bbcd77cc88912fef05e982f Mon Sep 17 00:00:00 2001 From: mahdi Date: Sun, 29 May 2022 15:07:34 +0430 Subject: [PATCH] update src/components/MiniComponents/OfferSection/index.js and src/index.scss --- src/index.scss | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/index.scss b/src/index.scss index bbda708..e15cf39 100644 --- a/src/index.scss +++ b/src/index.scss @@ -19,20 +19,20 @@ body { } .btn { - height: 300px; position: relative; background-color: #000; + overflow: hidden; } -.btn:before { +.btn::before { + content: " "; position: absolute; - content: ""; - width: 100%; - height: 100%; - top: 100px; - left: 0; - background-color: #000; - transform: skewX(25deg); + left: -6.1em; + top: 50%; + transform: translateY(-50%) rotate(200deg); + background: #111; + width: 40%; + height: 140%; } .rtl {