@charset "UTF-8";/*CSS Document*/P{width:200px;Border:5px Solid Green;Background-color:Orange;margin:15px;padding:15px;}Div{/*Display:-moz-box; Change block-level elements into fast-display:-webkit-box elastic scaling elements; -moz-box-orient:vertical; The telescopic items are arranged vertically from top to bottom-moz-box-orient:block-axis; -moz-box-orien T:inline-axis; Telescopic items are arranged from left to right-moz-box-orient:horizontal; -moz-box-direction:reverse; Text direction from right to left, reverse, normal default positive sequence width:100%; -moz-box-pack:end; -webkit-box-pack:center; -webkit-box-pack:justify; Equal text-webkit-box-align:start; -webkit-box-align:end; -webkit-box-align:baseline;*/Display:-moz-box;Display:-webkit-box;announce that you can change the layout}p:nth-child (1){-webkit-box-flex:1;-webkit-box-ordinal-group:2;/*Change the display order*/}P:nth-child (2){-webkit-box-flex:3;-webkit-box-ordinal-group:1;}P:nth-child (3){-webkit-box-flex:1;-webkit-box-ordinal-group:3;}
CSS Flex layout