<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><pclass="doc">This is a paragraph with some sample text. Did you know that the latest version of <strongclass="doc">mini.css</strong> is codenamed <emclass="doc">Gluon</em>? Well, now you do!</p><hrclass="doc"/><p><smallclass="doc">Remember that <strongclass="doc">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>Border color can be changed globally by changing the value of the <code>--border-color</code> variable. This affects the color of <code><hr></code> elements.</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 links by changing the values of the <code>--a-link-color</code> and <code>--a-visited-color</code> variables.</li></ul></div>
<divclass="section"><p>All of the HTML5 heading elements are styled, using a customizable ratio and simple rules, providing a clean base for your web app's titles. Apart from the headings themselves, customized rules are provided for displaying subheadings or explanatory text below your web app's headings.</p></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. This will affect the color of the headings' main text.</li><li>Secondary text color can be changed globally by changing the value of the <code>--secondary-fore-color</code> variable. This will affect the color of subheadings.</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>You can change the ratio of headings' size by chaning the value of the <code>--heading-ratio</code> variable. Bear in mind that the value of this variable must be unitless to work properly.</li></ul></div>
<h2class="section double-padded">Images & captions</h2>
<divclass="section"><p>Image elements are responsive by default, without the need for any special classes or anything similar. They automatically scale down as necessary to display properly on smaller devices, while retaining their original aspect ratio, while they will never scale above their original size.</p>
<p>If you want to add captions to images, you can use HTML5 figure elements, along with their related captions.</p></div>
<divclass="section double-padded"><h3>Notes</h3><ul><li>While not mandatory, it is considered a good practice to always add a <code>alt</code> attribute to image elements on your web apps.</li></ul></div>
<divclass="section double-padded"><h3>Customization</h3><ul><li>You can change the text color of <code><figcaption></code> elements by changing the value of the <code>--secondary-fore-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></ul></div>
<divclass="section"><p>List elements, both unordered and ordered, are minimally styled to match with the rest of the framework's aesthetics. Their margins and padding are reset to properly align with the rest of the common HTML5 elements, providing a stable foundation for all of your web app's lists.</p></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></ul></div>
<h2class="section double-padded">Code & quotations</h2>
<divclass="section"><p>Code blocks and quotation elements are styled using custom rules that help make them stand out from the rest of the text, while inline code and keyboard input tags are styled in a similar manner, while aiming not to break the flow of regular text.</p></div>
<divclass="section"><h3>Example</h3><pclass="doc">This is some text with some inline <codeclass="doc">source code</code> and some keyboard <kbdclass="doc">input</kbd>.</p>
<preclass="doc">function sum(num1, num2){
return num1 + num2;
}</pre>
<blockquotecite="www.quotation.source"class="doc">This is some text quoted from elsewhere.</blockquote></div>
<divclass="section double-padded"><h3>Sample code</h3><pre><spanclass="code-line"><spanclass="highlight-a"><p></span>This is some text with some inline <spanclass="highlight-a"><code></span>source code<spanclass="highlight-a"></code></span> and some keyboard <spanclass="highlight-a"><kbd></span>input<spanclass="highlight-a"></kbd></span>.<spanclass="highlight-a"></p></span></span>
<spanclass="code-line"><spanclass="highlight-a"><blockquote</span><spanclass="highlight-b">cite</span>=<spanclass="highlight-c">"www.quotation.source"</span><spanclass="highlight-a">></span>This is some text quoted from elsewhere.<spanclass="highlight-a"></blockquote></span></span></pre></div>
<divclass="section double-padded"><h3>Notes</h3><ul><li>The <code>cite</code> attribute of <code><blockquote></code> elements is not mandatory and can be omitted. The element's sizing will be automatically adjusted according to the presence of the <code>cite</code> attribute.</li></ul></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. This will affect the text color of <code><code></code> and <code><pre></code> elements and background color of <code><kbd></code> elements.</li><li>Background color can be changed globally by changing the value of the <code>--back-color</code> variable. This will affect the background color of <code><blockquote></code> elements and text color of <code><kbd></code>.</li><li>You can change the background color of <code><code></code> and <code><pre></code> elements by changing the value of the <code>--secondary-back-color</code> variable.</li><li>You can change the text color of <code><blockquote></code> elements by changing the value of the <code>--secondary-fore-color</code> variable.</li><li>You can change the border color of <code><pre></code> and <code><blockquote></code> elements by changing the value of the <code>--secondary-border-color</code> variable.</li><li>You can change the border color of the left border of <code><pre></code> elements by changing the value of the <code>--pre-color</code> variable.</li><li>You can change the border color of the left border of <code><blockquote></code> elements by changing the value of the <code>--blockquote-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>Universal border radius for elements can be changed globally by changing the value of the <code>--universal-border-radius</code> variable.</li></ul></div>
<divclass="section"><p>The grid system of <strong>mini.css</strong> utilizes the <ahref="https://css-tricks.com/snippets/css/a-guide-to-flexbox/"targe="_blank">Flexbox layout</a> to provide you with a simple, modern, responsive layout system for your web apps. Like most modern CSS frameworks' grid systems, it is composed of three main components - containers, rows and columns:</p>
<ul><li>The container (<code>.container</code>) is the outermost layer of the grid system and serves as a fluid wrapper, which can be used as the basis for your layout.</li>
<li>Inside the container, you can add one or more rows (<code>.row</code>), which will in turn house the columns.</li>
<li>Columns (<code>col-*-*</code>) are placed inside rows and they can be customized to display differently on different screen sizes, make use of fluid layouts, use offsets or change ordering.</li></ul></div>
<p>You can use the grid system to create a responsive <ahref="https://www.stubbornella.org/content/2010/06/25/the-media-object-saves-hundreds-of-lines-of-code/"target="_blank">media object</a> in one of many ways. Below is a simple example of a two-column media object with an image and some text:
<h4>Screen sizes and width</h4><p>Each column class is defined by specifying a screen size (small - <code>sm</code>, medium - <code>md</code> or large - <code>lg</code>) and a column width (a value between <code>1</code> and <code>12</code> or you can omit it for a fluid column), separated by dashes (e.g. <code>.col-sm-6</code> for a 6-wide column on a small screen). Using these you can apply different layouts for different screen sizes, by altering the width of columns, using multiple classes. Note that column widths are applied recursively, meaning that if you do not specify a width for a specific screen size the column will use the width applied for the previous largest screen size.</p><h5>Example</h5><divclass="container"style="padding: 0.25rem">
<spanclass="code-line"><spanclass="highlight-a"></div></span></span></pre><br/><h4>Predefined layouts</h4><p>Rows can be modified to apply predefined layouts to the columns inside them, effectively reducing the amount of work required for simple layouts. To create a predefined layout, you can add a class to a row (<code>.cols-*-*</code>), specifying a screen size and width for the columns inside it (or omitting the width for fluid columns), similarly to the way columns are defined (e.g. <code>.row.cols-sm-6</code> will cause all elements inside the row to be 6-wide on a small screen). Columns inside a predefined layout do not require any further classes to display and, much like normal column layouts, their widths are applied recursively.</p><h5>Sample code</h5><pre><spanclass="code-line"><spanclass="highlight-a"><div</span><spanclass="highlight-b">class</span>=<spanclass="highlight-c">"row cols-sm-6"</span><spanclass="highlight-a">></span></span>
<spanclass="code-line"><spanclass="highlight-a"><p></span>This paragraph is inside a 6-wide column.<spanclass="highlight-a"></p></span></span>
<spanclass="code-line"><spanclass="highlight-a"><p></span>This paragraph is inside a 6-wide column.<spanclass="highlight-a"></p></span></span>
<spanclass="code-line"><spanclass="highlight-a"></div></span></span></pre><br/><h4>Column offsets</h4><p>Columns can be moved to the right, by applying offset classes (<code>.col-*-offset-*</code>), defining a screen size and an offset (a value between <code>0</code> and <code>11</code>, e.g. <code>.col-sm-offset-3</code> will move a column 25% to the right on a small screen). Like all other column modifiers, offsets are applied recursively.</p><h5>Example</h5><divclass="container"style="padding: 0.25rem">
<spanclass="code-line"><spanclass="highlight-a"></div></span></span></pre><br/><h4>Column reordering</h4><p>Columns can be reordered on different screen sizes, by applying a reordering class (<code>.col-*-*</code>), defining a screen size and the order (first, normal or last, e.g. <code>.col-sm-last</code> will move a column to the end of its row on a small screen). Like all other column modifiers, reordering is applied recursively.</p><h5>Example</h5><divclass="container"style="padding: 0.25rem">
<spanclass="code-line"><spanclass="highlight-a"></div></span></span></pre></div><divclass="col-sm-12 col-md-6"><p><markclass="do">Do:</mark> A column can contain a container or a row inside it, or even be a row at the same time. In the latter case, it will act as a column for its parent row and as a row for its children.</p></div></div><br/><divclass="row dodos"><divclass="col-sm-12 col-md-6"><pre><spanclass="code-line"><spanclass="highlight-a"><div</span><spanclass="highlight-b">class</span>=<spanclass="highlight-c">"row"</span><spanclass="highlight-a">></span></span>
<spanclass="code-line"><spanclass="highlight-a"></div></span></span></pre></div><divclass="col-sm-12 col-md-6"><p><markclass="do">Do:</mark> You can mix fluid columns with fixed, if you like. Fluid columns will adapt to the size of the container left for them. You can also use columns whose total width exceeds <code>12</code> (100%). The remaining content will flow below the rest, allowing you to specify multiple blocks of content inside the same row if you need to.</p></div></div><br/><divclass="row dodos"><divclass="col-sm-12 col-md-6"><pre><spanclass="code-line"><spanclass="highlight-a"><div</span><spanclass="highlight-b">class</span>=<spanclass="highlight-c">"row"</span><spanclass="highlight-a">></span></span>
<spanclass="code-line"><spanclass="highlight-a"></div></span></span></pre></div><divclass="col-sm-12 col-md-6"><p><markclass="do">Do:</mark> You can change the layout of your content for different displays, laying out your content vertically on smaller screens or horizontally on larger screens. If your columns exceed a total width of <code>12</code> (100%) on some displays, they will wrap accordingly.</p></div></div><br/><divclass="row dodos"><divclass="col-sm-12 col-md-6"><pre><spanclass="code-line"><spanclass="highlight-a"><div</span><spanclass="highlight-b">class</span>=<spanclass="highlight-c">"row"</span><spanclass="highlight-a">></span></span>
<spanclass="code-line"><spanclass="highlight-a"></div></span></span></pre></div><divclass="col-sm-12 col-md-6"><p><markclass="do">Do:</mark> You do not need to specify a column's width or reapply offset and reordering modifiers if they are the same as the previous screen size.</p></div></div><br/><divclass="row dodos"><divclass="col-sm-12 col-md-6"><pre><spanclass="code-line"><spanclass="highlight-a"><div</span><spanclass="highlight-b">class</span>=<spanclass="highlight-c">"row cols-sm-12 cols-md-6"</span><spanclass="highlight-a">></span></span>
<spanclass="code-line"><spanclass="highlight-a"></div></span></span></pre></div><divclass="col-sm-12 col-md-6"><p><markclass="do">Do:</mark> You can add multiple predefined layout classes for different screen sizes, allowing you to build responsive predefined layouts.</p></div></div><br/><divclass="row dodos"><divclass="col-sm-12 col-md-6"><pre><spanclass="code-line"><spanclass="highlight-a"><div</span><spanclass="highlight-b">class</span>=<spanclass="highlight-c">"row"</span><spanclass="highlight-a">></span></span>
<spanclass="code-line"><spanclass="highlight-a"></div></span></span></pre></div><divclass="col-sm-12 col-md-6"><p><markclass="do">Do:</mark> To remove a previously applied offset from a column (i.e. one applied from the layout from a smaller screen size) or to make sure no offsets are active on a column, you can set its offset to <code>0</code> for a specific screen size. Similarly, to remove previously applied reordering modifiers from a column, you can set its order to <code>normal</code>.</p></div></div><divclass="row dodos"><divclass="col-sm-12 col-md-6"><pre><spanclass="code-line"><spanclass="highlight-a"><div</span><spanclass="highlight-b">class</span>=<spanclass="highlight-c">"col-sm"</span><spanclass="highlight-a">></span></span>
<spanclass="code-line"><spanclass="highlight-a"></div></span></span></pre></div><divclass="col-sm-12 col-md-6"><p><markclass="dont">Don't:</mark> Avoid placing a column directly inside another column. Always use a row to wrap columns, instead.</p></div></div><br/><divclass="row dodos"><divclass="col-sm-12 col-md-6"><pre><spanclass="code-line"><spanclass="highlight-a"><div</span><spanclass="highlight-b">class</span>=<spanclass="highlight-c">"container"</span><spanclass="highlight-a">></span></span>
<spanclass="code-line"><spanclass="highlight-a"><p></span>Do not do this.<spanclass="highlight-a"></p></span></span>
<spanclass="code-line"><spanclass="highlight-a"></div></span></span></pre></div><divclass="col-sm-12 col-md-6"><p><markclass="dont">Don't:</mark> Avoid mixing rows and columns with normal content that is not wrapped on the respective level of the grid layout.</p></div></div><br/><divclass="row dodos"><divclass="col-sm-12 col-md-6"><pre><spanclass="code-line"><spanclass="highlight-a"><div</span><spanclass="highlight-b">class</span>=<spanclass="highlight-c">"row"</span><spanclass="highlight-a">></span></span>
<spanclass="code-line"><spanclass="highlight-a"><div</span><spanclass="highlight-b">class</span>=<spanclass="highlight-c">"row cols-md"</span><spanclass="highlight-a">></div></span></span></pre></div><divclass="col-sm-12 col-md-6"><p><markclass="dont">Don't:</mark> Never omit the class that specifies a column's width for the small screen size. You can omit all other classes and modifiers, except for this. This also applies to predefined layouts.</p></div></div><br/><divclass="row dodos"><divclass="col-sm-12 col-md-6"><pre><spanclass="code-line"><spanclass="highlight-a"><div</span><spanclass="highlight-b">class</span>=<spanclass="highlight-c">"row cols-sm-6"</span><spanclass="highlight-a">></span></span>
<spanclass="code-line"><spanclass="highlight-a"></div></span></span></pre></div><divclass="col-sm-12 col-md-6"><p><markclass="dont">Don't:</mark> Avoid combining normal column width modifiers with predefined layouts, as the predefined layout will most likely override the width modifier of the column.</p></div></div></div>
<divclass="section double-padded"><h3>Notes</h3><ul><li><strong>mini.css</strong> uses a mobile-first approach in its grid system, so you do not have to rewrite the same layout for all three screen sizes. Leaving a column's size, offset or order unspecified for a screen size will use the style applied for the previous largest screen size recursively. This also applies to predefined layouts.</li><li>The specific breakpoints for small, medium and large screen sizes are as follows:
<ul>
<li>small: less than <code>768px</code> wide</li>
<li>medium: more than or equal to <code>768px</code> wide and less than <code>1280px</code> wide</li>
</ul></li><li>In many cases, you can omit the container and just use rows and columns. You only need to make sure that all of your rows have the same parent element.</li><li>You can use fluid columns to create columns whose width is not a multiple of 1/12th of the screen's width (e.g. if you have 7 fluid columns in a row, each one of them will be 1/7th of the screen's width).</li><li>Predefined layouts can be combined with most of the features of the grid system, such as offsets and reordering, however they do not combine very well with regular columns.</li><li>You should only apply offset and reordering modifiers to the columns that you need and for the screen sizes that are necessary. Remember to also specify a column width or use a predefined layout before applying these modifiers.</li></ul></div>
<divclass="section double-padded"><h3>Customization</h3><ul><li>Universal padding for elements can be changed globally by changing the value of the <code>--universal-padding</code> variable. This only affects the padding of the container.</li></ul></div>
<divclass="section"><p><strong>mini.css</strong> provides you with cards, general-purpose containers that help you organize the content of your web apps. Cards should be used in combination with the <ahref="#grid">grid system</a>, meaning that they need to be placed inside the grid's rows to work properly. Layouts created with cards are responsive, realigning according to the available size on the screen.</p></div>
<h4>Alternative sizes</h4><p>You can create small (<code>.small</code>, <code>240px</code> wide) or large (<code>.large</code>, <code>480px</code> wide) cards by applying the appropriate modifiers to a card. Apart from that, you can also create fluid (<code>.fluid</code>) cards, that take up as much space as is available, however you will have to place these cards inside a grid layout's columns, effectively adding one extra step for them to display properly.</p><h5>Example</h5><divclass="container"style="padding: 0.25rem"><divclass="row">
<divclass="card small"><divclass="section"><h3class="doc">Small Card</h3><pclass="doc">Small cards are <code>240px</code> wide.</p></div></div>
<divclass="card large"><divclass="section"><h3class="doc">Large Card</h3><pclass="doc">Large cards are <code>480px</code> wide.</p></div></div>
<divclass="col-sm-12 col-md-10 col-lg-8">
<divclass="card fluid"style="margin: 0.5rem 0.25rem;"><divclass="section"><h3class="doc">Fluid Card</h3><pclass="doc">Fluid cards scale their width based on the column that contains them.</p></div></div>
<spanclass="code-line"><spanclass="highlight-a"></div></span></span></pre><br/><h4>Color variants</h4><p>You can display warning (<code>.warning</code>) or error (<code>.error</code>) messages using cards, simply by adding the appropriate color modifiers to a card.</p><h5>Example</h5><divclass="container"style="padding: 0.25rem"><divclass="row">
<divclass="card warning"><divclass="section"><h3class="doc">Warning Card</h3><pclass="doc">Warning cards are used to display important information to users.</p></div></div>
<divclass="card error"><divclass="section"><h3class="doc">Error Card</h3><pclass="doc">Error cards are used to display error messages to users.</p></div></div>
<spanclass="code-line"><spanclass="highlight-a"></div></span></span></pre></div><divclass="col-sm-12 col-md-6"><p><markclass="do">Do:</mark> You can create rows inside a card, which can in turn contain other cards.</p></div></div><divclass="row dodos"><divclass="col-sm-12 col-md-6"><pre><spanclass="code-line"><spanclass="highlight-a"><div</span><spanclass="highlight-b">class</span>=<spanclass="highlight-c">"card row"</span><spanclass="highlight-a">></div></span></span>
<spanclass="code-line"><spanclass="highlight-a"><div</span><spanclass="highlight-b">class</span>=<spanclass="highlight-c">"card col-sm"</span><spanclass="highlight-a">></div></span></span></pre></div><divclass="col-sm-12 col-md-6"><p><markclass="dont">Don't:</mark> An element cannot be a card and a row or column at the same time.</p></div></div><br/><divclass="row dodos"><divclass="col-sm-12 col-md-6"><pre><spanclass="code-line"><spanclass="highlight-a"><div></span></span>
<spanclass="code-line"><spanclass="highlight-a"></div></span></span></pre></div><divclass="col-sm-12 col-md-6"><p><markclass="dont">Don't:</mark> Never forget to wrap your cards inside a row and your fluid cards inside a row and a column.</p></div></div><br/><divclass="row dodos"><divclass="col-sm-12 col-md-6"><pre><spanclass="code-line"><spanclass="highlight-a"><div</span><spanclass="highlight-b">class</span>=<spanclass="highlight-c">"row"</span><spanclass="highlight-a">></span></span>
<spanclass="code-line"><spanclass="highlight-a"></div></span></span></pre></div><divclass="col-sm-12 col-md-6"><p><markclass="dont">Don't:</mark> Try not to combine fixed-width and fluid cards. Instead, combine fixed-width cards with columns and place fluid cards inside them.</p></div></div><br/><divclass="row dodos"><divclass="col-sm-12 col-md-6"><pre><spanclass="code-line"><spanclass="highlight-a"><div</span><spanclass="highlight-b">class</span>=<spanclass="highlight-c">"card warning error"</span><spanclass="highlight-a">></div></span></span></pre></div><divclass="col-sm-12 col-md-6"><p><markclass="dont">Don't:</mark> Avoid applying two color modifiers on the same card.</p></div></div></div>
<divclass="section double-padded"><h3>Notes</h3><ul><li>Due to the fact that fluid cards stretch to fill their parent container, they might not fully respect their margins sometimes, although this should not cause any noticable problems in your web apps' layouts.</li></ul></div>
<divclass="section double-padded"><h3>Customization</h3><ul><li>Text color for cards can be changed by changing the value of the <code>--card-fore-color</code> variable.</li><li>Background color for cards can be changed by changing the value of the <code>--card-back-color</code> variable.</li><li>Border color for caards can be changed by changing the value of the <code>--card-border-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 border radius for elements can be changed globally by changing the value of the <code>--universal-border-radius</code> variable.</li></ul></div>