frontblocks-headline-option.jsx
8 months ago
frontblocks-headline.css
8 months ago
frontblocks-headline.js
8 months ago
frontblocks-headline.css
40 lines
| 1 | .gb-line-effect-vertical, |
| 2 | .gb-line-effect-horizontal { |
| 3 | position: relative; |
| 4 | display: block; |
| 5 | width: fit-content; |
| 6 | } |
| 7 | |
| 8 | .gb-line-effect-vertical { |
| 9 | display: flex; |
| 10 | align-items: center; |
| 11 | padding-right: 20px; |
| 12 | } |
| 13 | |
| 14 | .gb-line-effect-vertical::after { |
| 15 | content: ""; |
| 16 | position: absolute; |
| 17 | top: 50%; |
| 18 | transform: translateY(-50%); |
| 19 | right: 0; |
| 20 | width: 3px; |
| 21 | height: 100%; |
| 22 | background-color: black; |
| 23 | } |
| 24 | |
| 25 | .gb-line-effect-horizontal { |
| 26 | display: flex; |
| 27 | align-items: center; |
| 28 | padding-right: 40px; |
| 29 | } |
| 30 | |
| 31 | .gb-line-effect-horizontal::after { |
| 32 | content: ""; |
| 33 | position: absolute; |
| 34 | right: 0; |
| 35 | bottom: 50%; |
| 36 | transform: translateY(50%); |
| 37 | width: 20px; |
| 38 | height: 3px; |
| 39 | background-color: black; |
| 40 | } |