我从互联网上得到了一个代码示例。我使用它,它工作正常。但我不明白代码的工作原理。
#header {
display: -moz-flex;
display: -webkit-flex;
display: -ms-flex;
display: flex;
-moz-justify-content: space-between;
-webkit-justify-content: space-between;
-ms-justify-content: space-between;
justify-content: space-between;
background-color: #ffffff;
border-bottom: solid 1px rgba(160, 160, 160, 0.3);
height: 3.5em;
left: 0;
line-height: 3.5em;
position: fixed;
top: 0;
width: 100%;
z-index: 10000;
}
Run Code Online (Sandbox Code Playgroud)
moz-flex 和 webkit-flex 代表什么?
谢谢,萨巴里斯里