Is it a bad idea to resize the div containing my openfl app outside of haxe?

There are multiple ways to handle this via code. The easiest is to scale Lib.current. The second- and third-easiest options are the two offered by Advanced Layout, and the fourth is Joshua’s old Layout library.