How to make multi-line paddings?
Fellows, I have a funny question 😊 There is some text which has paddings.
The following code snippet is used for a demo:
.bg-pad {
padding: 0.5rem 2rem;
color: #fff;
background: #1ad2c7;
}
Pay attention to line corners, did you see horizontal paddings are applied in part?
My question is, which will property change this demo that it will be displayed like below? 🤔
The answer is here: https://codepen.io/callmenick/full/yVJger
P.S.
✉️ I make unlimited Q&A sessions about HTML/CSS via email with expect responses in 2 days.
😎 I make HTML/CSS reviews of your non-commercial projects and recommendations for improvement.
Please, use my email for communication 👉 melnik909@ya.ru
💪 Discover more free things from me