.banner { height: 0; transform: translate(0, rem-calc(-24)); border: rem-calc(24) red solid; border-left: rem-calc(24) transparent solid; border-right: rem-calc(24) transparent solid; } h2 { margin: 0; margin-top: rem-calc(-16); padding: rem-calc(0 8); text-align: center; }
SCSS: Banner with Edges Cutout

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.