Template:Biochem reaction subunit/doc



This template creates subunits of a biochemical reaction. For example, three instances of it were used to demonstrate the reaction of catalase.

The template is based on the &lt;div&gt; element, rather than tables, and this allows it to be more flexible in its display. For example, "2 × Hydrogen peroxide" is likely to wrap across multiple lines, but this doesn't force all the other headers to expand to match. Some of the formatting is dependent on the user's browser supporting the flexbox layout system; the vast majority do, but you will see slight differences in spacing on legacy browsers, although efforts have been made to provide a fallback.



The second example shows the same code, but constrained to 200 px wide; the content wraps, which is particularly useful for longer pathways and mobile devices.