You have the correct display value, but all other Flexbox properties that you use are incorrect. The correct translation will be like this:
body { background: red; font-family: 'Open Sans'; min-height: 100%; width: 100%; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -moz-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: center; -moz-box-align: center; -ms-flex-line-pack: center; -webkit-align-content: center; align-content: center; }
However, if you use Flexbox for vertical alignment purposes, this may be what you need:
body { background: red; font-family: 'Open Sans'; min-height: 100%; width: 100%; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-pack: center; -moz-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: center; -moz-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; }
Note that field align and align / align elements are not equivalent properties, but here they perform the same task.
cimmanon
source share