When using .justify-content(flex-end); lesshat will generate;
-webkit-box-pack: flex-end;
-moz-box-pack: end;
-webkit-justify-content: end;
-ms-flex-pack: flex-end;
justify-content: flex-end;
But this is not correct since IE10 is using the old implementation for justifycontent and Safari on iPad needs to be prefixed different. So I end-up having to write;
-ms-flex-pack: end; //IE10
-webkit-justify-content: flex-end; //iPad Safari
.justify-content(flex-end); //Lesshat.
This gives me the output;
-ms-flex-pack: end;
-webkit-justify-content: flex-end;
-webkit-box-pack: flex-end;
-moz-box-pack: end;
-webkit-justify-content: end;
-ms-flex-pack: flex-end;
justify-content: flex-end;
and this works for all platforms and versions that I have been testing on.
When using .justify-content(flex-end); lesshat will generate; -webkit-box-pack: flex-end; -moz-box-pack: end; -webkit-justify-content: end; -ms-flex-pack: flex-end; justify-content: flex-end;
But this is not correct since IE10 is using the old implementation for justifycontent and Safari on iPad needs to be prefixed different. So I end-up having to write; -ms-flex-pack: end; //IE10 -webkit-justify-content: flex-end; //iPad Safari .justify-content(flex-end); //Lesshat.
This gives me the output; -ms-flex-pack: end; -webkit-justify-content: flex-end; -webkit-box-pack: flex-end; -moz-box-pack: end; -webkit-justify-content: end; -ms-flex-pack: flex-end; justify-content: flex-end; and this works for all platforms and versions that I have been testing on.