Why is it that when I add padding
or margin
, no extra space is created after the text?
Here is the output:
https://i.sstatic.net/1MwjE.png
I have tried adding padding
and margin
after the Stay Tuned
text, but it seems to be not working. Any insights on what might be causing this issue? Any suggestions for a solution?
Here is the code snippet:
@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>