Padding nor margin being applied

https://codepen.io/saad-shehzad-the-bashful/pen/mdNRqmg idk why the padding nor margin is being applied to the gabriel_fancy_text i can give margin or padding to the bottom text but i just want to know whats the problem in applying it to gabriel_fancy_text
2 Replies
lko
lko4mo ago
Because it's a strong element, and by default is display: inline because it should be used in paragraphs, just wrap it into a paragraph or give it another display value, for example block or inline-block
Code-S ♛
Code-S ♛OP4mo ago
ty

Did you find this page helpful?