Closed GreXLin85 closed 4 years ago
Sorry. I can't give you an answer because I don't know your situation in detail. For general CSS tips, try using a flexbox. 👍
<div class="nes-container with-title">
<span class="title">vertical align</span>
<div class="vertical-center">
...your content
</div>
</div>
.vertical-center {
width: 100%;
height: 100%;
display: flex;
align-items: center;
}
Hello I want to make my
nes-container
vertical centered. I triedvertical-align: middle;
but nothing changes, what can I do?