update src/components/MiniComponents/OfferSection/index.js and src/index.scss

master
mahdi 3 years ago
parent 0a834c6eba
commit a2662960ef
  1. 18
      src/index.scss

@ -19,20 +19,20 @@ body {
} }
.btn { .btn {
height: 300px;
position: relative; position: relative;
background-color: #000; background-color: #000;
overflow: hidden;
} }
.btn:before { .btn::before {
position: absolute;
content: " "; content: " ";
width: 100%; position: absolute;
height: 100%; left: -6.1em;
top: 100px; top: 50%;
left: 0; transform: translateY(-50%) rotate(200deg);
background-color: #000; background: #111;
transform: skewX(25deg); width: 40%;
height: 140%;
} }
.rtl { .rtl {

Loading…
Cancel
Save