Streaming live at 10am (PST)

How to add background under lines of text and have a perfect padding?


#1

Hi,

is there a way to create this effect (bg-color and perfet spacing on every side) without custom code.
I used a span inside a span. Maybe there is an easier way ...

http://fat-headline.webflow.io/

https://preview.webflow.com/preview/fat-headline?preview=1dfa63dac18a87ecd15190f7b6fc3498

.wrap {
box-shadow: -10px 0 0 10px #66C7F4, 10px 0 0 10px #66C7F4;
}
.inner {
background: #66C7F4;
position:relative;
}

best
kalli


#2

Not too far, no span, maybe an issue with size of shadow :slightly_smiling:

https://v.usetapes.com/FY54cy0MlQ


#3

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.