Here is a working demo of a rectangle. I\'d like to move the height property to css and well, it doesn\'t work and gives me a blank. It happens in firefox and chrome.
In SVG the x, y, width and height of elements are attributes rather than CSS properties. Only CSS properties can be styled using CSS.