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 {
content: " ";
position: absolute; position: absolute;
content: ""; left: -6.1em;
width: 100%; top: 50%;
height: 100%; transform: translateY(-50%) rotate(200deg);
top: 100px; background: #111;
left: 0; width: 40%;
background-color: #000; height: 140%;
transform: skewX(25deg);
} }
.rtl { .rtl {

Loading…
Cancel
Save