Html CSS:在flex布局中对齐项目

Html CSS:在flex布局中对齐项目,html,reactjs,css,flexbox,Html,Reactjs,Css,Flexbox,我希望向下箭头位于页面的底部中间。我试图通过flex布局实现这一点。但到目前为止还无法做到这一点。有人能帮我吗?下面是我的css/html .flex-description-container { display: flex; flex-flow: row wrap; align-items: center } .flex-item-descriptionText { padding: 10px; color: white; font-weight: bold;

我希望向下箭头位于页面的底部中间。我试图通过flex布局实现这一点。但到目前为止还无法做到这一点。有人能帮我吗?下面是我的css/html

.flex-description-container {
  display: flex;
  flex-flow: row wrap;
  align-items: center
}

.flex-item-descriptionText {
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 4em;
  text-align: center;
  flex: 1;
}

.flex-item-descriptionImage {
  padding: 10px;
  color: white;
  flex: 1;
}

.flex-item-next {
  flex: 1 100%;
  align-items: center;
  align-self: flex-end;
  justify-content: center;
}
App.jsx>

<Parallax.Layer
                    offset={0} speed={0}
                    onClick={() => this.parallax.scrollTo(1)}>
                    <div class="flex-description-container ">
                        <div class="flex-item-descriptionText">Text </div>
                        <div class="flex-item-descriptionImage">
                            <img src={url('desk')} style={{ width: '50%' }} />
                        </div>
                        <div class="flex-item-next">
                            <img src={url('down')} style={{ width: '5%' }} />
                        </div>
                    </div>
                </Parallax.Layer>

PS:我正在使用这个react

下一步只需将display:flex添加到.flex项即可

请参阅。

下一步只需将display:flex添加到.flex项即可


请参阅。

了解将此代码输入到.flex项的方法,下一步:


}

对于do,请将此代码输入到.flex项目下一步:

}

.flex-item-next {
  flex: 1 100%;
  display: flex;
  align-items: center;
  align-self: flex-end;
  justify-content: center;
}
.flex-item-next {

  display: flex;

  flex: 1 100%;
  align-items: center;
  align-self: flex-end;
  justify-content: center;