我希望第2项居中,我无法使align-self起作用。 请问我做错了什么?我尝试了align-self的所有选项,但似乎没有注册。
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" soap:mustUnderstand="1">
<wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="SecurityToken-a5c74fab-1942-472b-9fbc-14b34b4b574a">
<wsse:Username>APP-DCTPNSE-CAN-CR1</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">NgEsD3WVOn</wsse:Password>
<wsse:Nonce>xmPk+9d5IB6z451tPdJ845UZSolA2L</wsse:Nonce>
<wsu:Created>2019-09-20T09:38:15Z</wsu:Created>
</wsse:UsernameToken>
</wsse:Security>
答案 0 :(得分:0)
如果从容器中删除align-content: space-between
并向.item添加高度,则可以选择单个项目,然后align-self: center
可以在中间垂直设置该项目。< / p>