I have a tag and a background added to it. How can I align its background with it vertically?
h1 {
top: 90px;
left: 90px;
background-color: rgb(200, 200, 200);
width: 100%;
height: 100px;
text-align: center;
}
<h1>TEXT</h1>
I have a tag and a background added to it. How can I align its background with it vertically?
h1 {
top: 90px;
left: 90px;
background-color: rgb(200, 200, 200);
width: 100%;
height: 100px;
text-align: center;
}
<h1>TEXT</h1>