Simon
Results
2
comments of
Simon
> .element { > width: 600px; height: 400px; > position: absolute; left: 50%; top: 50%; > transform: translate(-50%, -50%); > } 这种方法除了兼容性,还有个东西需要考虑: 当元素最终宽高为`奇数`时,元素上面的文字`偶尔`会模糊,原因尚未知。
if build failed, you should delete .mlmodel file link and then add .mlmodel to your project, don't forget to add it to your compile sources :)