2021年1月24日星期日

Spacing after text in html/css

so I do not know why adding padding or even margin is not creating extra space after the text.

Output:

enter image description here

I want space after the Stay Tuned text and I tried adding padding and margin but it still did not work. What seems to be the issue? Any suggestions?

Code of that text:

@import url('https://fonts.googleapis.com/css?family=Montserrat');  body {      background: transparent;  }    .title123 {      font-family: "Montserrat";      text-align: center;      color: #FFF;      letter-spacing: 1px;  }    h23 {      background-image: url(https://media.tenor.com/images/ad3dbde6dd7863faeb8151178df7bc71/tenor.gif);      color: transparent;      -moz-background-clip: text;      -webkit-background-clip: text;      text-transform: uppercase;      font-size: 35px;  }  /* styling my button */
<link rel="stylesheet" href="assets/css/text.css">              <div class="title123">   <h23>Stay Tuned!</h23>   </div>
https://stackoverflow.com/questions/65878392/spacing-after-text-in-html-css January 25, 2021 at 10:55AM

没有评论:

发表评论