I was watching a tutorial and there was such an attribute. Does this have the same meaning as display: flex;?
Thanks!
迷茫2017-06-12 09:26:35
For compatibility, usually write both of them, as follows
#main {
display: flex;
display:-webkit-flex;
}
This way the compatibility is better. Which one to use is left to the browser to decide. Both effects are the same.
仅有的幸福2017-06-12 09:26:35
Flexible layout, in order to be compatible with webkit kernel. So add -webkit, and -moz, -ms, -o compatibility.