Confirmed users
42
edits
(More tips in basics) |
m (Add SVG guidelines) |
||
| Line 98: | Line 98: | ||
* Use <tt>:empty</tt> to match a node that doesn't have children | * Use <tt>:empty</tt> to match a node that doesn't have children | ||
* Usually, if <tt>margin</tt> or <tt>padding</tt> has 4 values, something is wrong. If the left and right values are asymmetrical, you're supposed to use <tt>-start</tt> and <tt>-end</tt>. If the values are symmetrical, so use only 3 values (see localization section) | * Usually, if <tt>margin</tt> or <tt>padding</tt> has 4 values, something is wrong. If the left and right values are asymmetrical, you're supposed to use <tt>-start</tt> and <tt>-end</tt>. If the values are symmetrical, so use only 3 values (see localization section) | ||
== Other useful tips == | |||
* [https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/SVG_Guidelines SVG Best practices] | |||