Minimalist Notation Default Presets
The MN library includes this default presets if other is not seated.
Auto prefixes
See source:
mn-presets/prefixes.js
mn-presets/runtime-prefixes.js
Media queries
See source:
mn-presets/medias.js
module { const media utils = mn; const forEach = utils; ; // user agents ;};
Examples:
...
{@}{@}
...
@@
States
See source:
mn-presets/states.js
State name | Selectors |
---|---|
a | :active |
с | :checked |
f | :focus |
h | :hover |
i | ::-webkit-input-placeholder, ::-moz-placeholder, :-ms-input-placeholder, ::placeholder |
even | :nth-child(2n) |
odd | :nth-child(2n+1) |
n | :nth-child |
first | :first-child |
last | :last-child |
Examples:
link
...
...
...
...
Other default settings
See source:
mn-presets/main.js
module {; mn; mn;};
Side names
How sides named in the names of the essences, if such clarification may take place for the attribute in question
Base format: {baseName}{sideName}{value}
Side suffix | Sides | Description |
---|---|---|
t | top | |
b | bottom | |
l | left | |
r | right | |
v | top, bottom | vertical |
vl | top, bottom, left | vertical and left |
vr | top, bottom, right | vertical and right |
h | left, right | horizontal |
ht | top, left, right | horizontal and top |
hb | bottom, left, right | horizontal and bottom |
lt | left, top | |
rt | right, bottom | |
lb | left, bottom | |
rb | right, bottom |
const defaultSides = ;
Examples:
[
[
[
[
Essences of styles
See source:
mn-presets/styles.js
See docs:
styles.minimalist-notation.org
Normalize
This is a fork of the normalize.css v8.0.1
See source:
mn-presets/normalize.js