flex-direction:row
css:
水平居中:
style={
justify-content: center;
}
垂直居中:
style={
align-items:center;
}
flex-direction:column
column的横竖排列和row是相反的
css:
垂直居中:
style={
justify-content: center;
}
水平居中:
style={
align-items:center;
}