<divclass="section"><p>You can get started using <strong>mini.css</strong> in one of many ways. It is published on <strong>npm</strong> and <strong>yarn</strong>, so you can easily download it, using your preferred package manager:</p>
<br/><p>Alternatively, you can use either <strong>rawgit</strong> or <strong>cdnjs</strong> to import <strong>mini.css</strong> into your HTML page's <code><head></code> tag:</p>
<br/><p>After adding <strong>mini.css</strong> to your project, remember to also add the following line inside your HTML page's <code><head></code> tag to utilize the viewport meta tag:</p>
<br/><p><strong>mini.css</strong> is crafted with long-term support in mind, so expect it to be compatible with all modern browsers, as well as their future versions. However, most legacy and proxy browsers, such as Internet Explorer, Opera Mini, IE Mobile and UC Browser are not officially supported, meaning certain features may not be displayed properly or behave exactly as expected.</p><br/>
<divclass="section"><p><strong>mini.css</strong> utilizes the ruleset of <ahref="http://necolas.github.io/normalize.css/"targe="_blank">Normalize.css</a> v7.0.0 to reliably deal with inconsistencies between browsers, ensuring that your web apps will look beatiful no matter on what browser or device you're at. On top of these rules, we have applied some tasteful rules, such as using <ahref="https://www.smashingmagazine.com/2015/11/using-system-ui-fonts-practical-guide/"target="_blank">native font stack</a> to figure out the best font for each device, slightly altering the background and foreground colors, as well as setting the size of the text to <code>16px</code> and its line height to <code>1.5</code>.</p>
<p>All of the most common HTML5 elements, such as paragraphs, links, bold, small and slanted text, have been styled by default using clean, modern typography to make your pages look cool and stand out from the rest of the internet.</p></div>
<divclass="section"><h3>Example</h3><p>This is a paragraph with some sample text. Did you know that the latest version of <strong>mini.css</strong> is codenamed <em>Gluon</em>? Well, now you do!</p><hr/><p><small>Remember that <strong>mini.css</strong> is totally free, no fine print involved!</small></p></div>
<divclass="section double-padded"><h3>Sample code</h3><pre><spanclass="code-line"><spanclass="highlight-a"><p></span>This is a paragraph. with some <spanclass="highlight-a"><strong></span>bold text<spanclass="highlight-a"></strong></span> and some <spanclass="highlight-a"><em></span>italics text<spanclass="highlight-a"></em></span>.<spanclass="highlight-a"></p></span></span>
<spanclass="code-line"><spanclass="highlight-a"><a</span><spanclass="highlight-b">href</span>=<spanclass="highlight-c">"#"</span><spanclass="highlight-a">></span>This is a link.<spanclass="highlight-a"></a></span></span>
<spanclass="code-line"><spanclass="highlight-a"><small></span>This is some small text.<spanclass="highlight-a"></small></span></span>
<divclass="section double-padded"><h3>Best practices</h3><divclass="row dodos"><divclass="col-sm-12 col-md-6"><pre><spanclass="code-line"><spanclass="highlight-c">/* Do not do this (use Sass instead) */</span></span>
<spanclass="code-line">}</span></pre></div><divclass="col-sm-12 col-md-6"><p><markclass="dont">Don't:</mark> Avoid altering the base font size of <code>16px</code> directly in your CSS code, as it can cause problems with the display of certain elements.</p></div></div></div>
<divclass="section double-padded"><h3>Customization</h3><ul><li>Text color can be changed globally by changing the value of the <code>--fore-color</code> variable.</li><li>Background color can be changed globally by changing the value of the <code>--back-color</code> variable.</li><li>Universal margin for elements can be changed globally by changing the value of the <code>--universal-margin</code> variable. As a rule of thumb, consider the universal margin to be the distance you want your paragraphs to have from the sides of the screen.</li><li>Universal padding for elements can be changed globally by changing the value of the <code>--universal-padding</code> variable.</li><li>You can change the color of linkss by changing the values of the <code>--a-link-color</code> and <code>--a-visited-color</code> variables.</li></ul></div>