Oblong shape with css/html – Stack Overflow

0
201
html - Animation after toggling doesn't apply the second style


I am trying to display text inside series of spans. Like this:

enter image description here

Text length inside spans can vary.

What I want is to have span shape like oblong, like having semicircles at both ends.

I have tried using borderRadius, but not sure if it would work with span length varying.

How can I achieve it?



Source link

Leave a reply

Please enter your comment!
Please enter your name here