UNPKG

@ou-imdt/css

Version:

The IMDT CSS library styles native elements with light, extendable CSS. It is developed for Interactive Media Developers at the Open University.

20 lines (12 loc) 535 B
# code The `code` element represents only a single line of code. To represent multiple you can nest `code` inside a `pre` tag or use a formatted `pre`; ## Example <div class="card"> <p>The <code>push()</code> method adds one or more elements to the end of an array and returns the new length of the array.</p> </div> <details class="compact"> <summary>HTML</summary> ```html <p>The <code>push()</code> method adds one or more elements to the end of an array and returns the new length of the array.</p> ``` </details>