I have this div which contains some text inside a square. I want the text inside to be shown right in the middle of it - it seems that the bottom of my text is in the middle, while I would like the middle of my text to be in the middle.
My css is:
.touch {
border-radius: 3px;
background: #eee4da;
text-align: center;
font-weight: bold;
/*z-index: 10;*/
font-size: 30px;
width: 60px;
height: 60px;
display: inline-block;
cursor: pointer;
justify-content: center;
align-items: center;
/*vertical-align: middle;*/
}