Add ref for css writing modes