Can't the position of the words in flex cloth holy grail layout be changed?
无花果树
无花果树 2019-07-21 22:03:45
0
0
1023

I used the Holy Grail layout, but it is very difficult to change the position of the words. I want the words left and right to be placed in the upper left corner. 捕获555.PNGWhat method can be used to achieve this? I've been stuck here for 2 days and don't know how to implement it. I tried and the green square was at the top, but the words were still in the middle. What is the reason?

htmlcode

<div class="left" >
                                                                                     class="row3">1</div>
                                                                           #   </div>
    </nav>

css code

nav {

  padding: 5px;

}

.row {
width: 100%;
height: 90px;
background-color: lawngreen;
border-radius: 8px;
display: flex;
}
row3{
flex:1;
border-left:1px solid #fff;
}
row3 div:first-child{
border:1;
}

left , .right{
display: flex;
justify-content: center;

background: pink;

line-height: 500px;
/*text-align: center;*/
font-size: 20px;
font-size: 1.2rem;
color:red;

无花果树
无花果树

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template