2 ms·
I'm curious, why not... <div id="rectangle"></div> #rectangle { width: 200px; height: 150px; background #FF0000; } ...by default?
by JacksonGariety 13y ago
I'm curious, why not...
<div id="rectangle"></div>
#rectangle { width: 200px; height: 150px; background #FF0000; }
...by default?
- teleclimber 13y agoBecause you used the "shape" tool and not the "tag" tool.
- gwdengineer 13y agoHi, Great observation! We have had this discussion internally as well. For now, we wanted to have a clear separation in the types of content the user is creating on a canvas, since canvas enables different types of content. And, in some cases, there isn't a 1-1 fallback between a canvas shape definition and an HTML element, e.g., an oval with inner radius. However, we realize that in a lot of cases users just want elements that look like rectangles, and a DIV with certain styles will suffice. We will work to direct users towards that workflow in such cases. Thanks, Google Web Designer team