1
0
mirror of https://github.com/Chalarangelo/mini.css.git synced 2025-08-12 00:43:57 +02:00

Grid cleanup

Added a mixin to simplify the grid module and allow for easier maintenance. This will help a lot in the future.
This commit is contained in:
Angelos Chalaris
2017-10-25 16:43:01 +03:00
parent 70cb2fefdf
commit 6beae7c167
3 changed files with 72 additions and 202 deletions

View File

@@ -68,3 +68,8 @@
- Removed legacy code from `grid`, specifically the one targeting `box-flex` (old syntax). - This trimmed the module size from `940bytes` down to `848bytes`.
- Removed legacy support for prefixed flexbox (`-webkit-`), trimmed off another `91bytes`.
- Improved indentation for `grid` module, now that prefixed code is gone.
## 20171025
- Improved the `grid` module by creating a simple `@mixin` to generate each grid step. Complexity is significantly lower now.
- Properly configured the `grid` module for defaults, without anything stored in CSS variables it now weighs a nice `750bytes`. This will probably grow ever so slightly as soon as I get to add CSS variables.

File diff suppressed because one or more lines are too long