S
S
Sergio Alvarez2017-06-10 23:58:09
css
Sergio Alvarez, 2017-06-10 23:58:09

How to set a floated background for text like in Instagram Story?

As pictured white background with rounded corners. Cross-browser solution preferred
be8ede24070a4e659bc4348d33772fe5.PNG

Answer the question

In order to leave comments, you need to log in

3 answer(s)
B
Bastax13, 2017-06-11
@Bastax13

1. Solution . No rounding between lines.
2. Solution . Rounding with circle gradient. ( @healqq )
3. PostCSS and CSS solution . Rounding with SVG. ( @hvdd )

M
Misha, 2017-06-11
@hvdd

Cross-browser, but not very versatile. Demo on codepen .
18a50456faec43e58e127ac89012c37e.JPG

A
Alexander Reshetnyak, 2017-06-11
@Vampireos

with the help of svg you will get it)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question