After css parent element positioning, child element review element is out of position.

the parent element position:fixed writes a mask layer, in which the child elements review the element"s disordered position, and the element
< div style = {styles.toolstip} >
< div style = {styles.case} >

can be located beyond this element.
   <div style = {styles.title}></div>

< / div >
< / div >

.toolstip {
position: fixed;
left: 0;
right: 0;
bottom: 0;
top: 0;
width: 100%;
background-color: rgba.
display: flex;
justify-content: center;
align-items: center;
}
.case {
width: 602;
height: 485;
background-color:-sharpfff;
border-radius: 20;
}
.title {
width: 1002
text-align: center;
font-size: 28;
color:-sharp5e57ff;
border-bottom: 1px solid-sharpccc;
}
the title element is misplaced when the browser examines the element, but the review element is normal again after the child element is removed from the center style.

Css
Jul.06,2021

do not understand what your problem is? You can add the picture to describe it more clearly. What's the problem of insanity?

Menu