This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
/** | |
* Core method, similar to jQuery (only simpler) | |
* | |
* @param {String|HTMLElement} s The CSS selector to search for or HTML element to wrap with functionality | |
* @param {HTMLElement} root OPTIONAL An HTML element to start the element query from | |
* @return {Array} The collection of elements, wrapped with functionality (see API methods) | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Flexbox | |
// ================================================== */ | |
.d--f { display: flex; } | |
.d--if { display: inline-flex; } | |
/* Flex direction */ | |
.fd--r { flex-direction: row; } /* Default */ | |
.fd--rr { flex-direction: row-reverse; } | |
.fd--c { flex-direction: column; } | |
.fd--cr { flex-direction: column-reverse; } |