Positioning issue in Figma: HTML rendering

I am facing a positioning issue in Figma design to HTML & CSS conversion. The element which has transform property is not rendered as expected in HTML when compared with the Figma design. To elaborate, plus icon is formed in the figma design which has two image nodes (rectangles-instances of a component under a group node) - one is vertical and another one is rotated 90 deg.

But when this is converted to HTML, the 2 rectangle images are not positioned to make a plus icon. Both are placed in such a way of form the letter ā€˜Lā€™.

Even if we apply transform property we are getting L only. We are considering transform, position, left, top, width and height.