Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
0a4a230
Removes *zoom
peterramsing Jan 4, 2016
b788f56
Merge branch '7.0.0' into remove-zoom
peterramsing Jan 25, 2016
812bef9
Updates the README.md to address #249 and the release of 6.7.0
peterramsing Jan 26, 2016
76dc44c
Fixes issue where older Android browsers wouldn't support :nth-child(…
peterramsing Jan 26, 2016
8eb325a
Updates README.md to reflect a more creator-agnostic wording
peterramsing Jan 26, 2016
a6e6e90
Fixes broken link in README.md
peterramsing Jan 27, 2016
136815c
Merge pull request #250 from peterramsing/fix-nth-1n
peterramsing Jan 27, 2016
ba2572b
bumbs version to 6.7.1
peterramsing Jan 27, 2016
b8597f5
Update README.md
plesiecki Feb 2, 2016
b27930e
Merge pull request #257 from plesiecki/patch-1
peterramsing Feb 3, 2016
3cf9e27
Fixes lost-column too much code generation
poxrud Feb 3, 2016
a1da9f3
Merge branch 'master' into fix-lost-column-rule-repetition
poxrud Feb 3, 2016
26b9b5b
Fixes too much code generation in waffle grids. #256
poxrud Feb 4, 2016
ac2851e
Merge pull request #259 from poxrud/fix-lost-waffle-rule-repetition
peterramsing Feb 17, 2016
8342cf5
Merge pull request #258 from poxrud/fix-lost-column-rule-repetition
peterramsing Feb 17, 2016
1cb548e
6.7.2
peterramsing Feb 17, 2016
f174c06
Updates README.md to reflect new lost-column output
peterramsing Feb 17, 2016
a0c973a
Fix 1px rounding issue for flexbox grids in Safari #260
hudochenkov Feb 17, 2016
7833128
Fix issue with `margin-left: auto` and flexbox
hudochenkov Feb 19, 2016
608cc57
Adds Waffle.io Badges
peterramsing Feb 25, 2016
927e85d
Revert "Adds Waffle.io Badges"
peterramsing Feb 25, 2016
b622d40
Merge pull request #262 from hudochenkov/remove-float-for-flexgrid
peterramsing May 15, 2016
be24268
6.8.0
peterramsing May 15, 2016
759543f
Chore repo updates (#289)
peterramsing May 19, 2016
e914b6b
Removes duplicate line of code for lost-column: none; (#290)
peterramsing May 23, 2016
5203db9
Fixes grammar error in PR template.
peterramsing May 23, 2016
e9893bd
Minor updates to README
peterramsing May 23, 2016
a91f60b
Updates the "clear" rule from "left" to "both" (#297)
peterramsing May 31, 2016
8e319bb
7.0.0
peterramsing May 31, 2016
7ae225c
change size from 99.99% to 99.9% to avoid rounding errors in Edge and…
dotnetCarpenter Jun 1, 2016
c7369c2
7.0.1-0
peterramsing Jun 1, 2016
27a7b5d
Adds the gutter badge (instead of #300)
peterramsing Jun 4, 2016
0ee5c29
Merge branch 'add-gitter-badge-back'
peterramsing Jun 4, 2016
cf0909b
adds the correct gitter status badge - whoops
peterramsing Jun 4, 2016
52012ea
Merge branch 'adds-the-right-gitter-badge'
peterramsing Jun 4, 2016
2461fa6
Merge branch 'master' into beta
peterramsing Jun 4, 2016
3622dc6
Merge branch 'beta' into 7.0.0
peterramsing Jun 4, 2016
0f8d36e
merge beta
peterramsing Jun 4, 2016
fdb90aa
Merge branch '7.0.0' into beta
peterramsing Jun 4, 2016
f2dffdf
Adds lost-row: none rule (#306)
peterramsing Jun 4, 2016
454830a
bumps version for beta release - jumps to 2 to stay in sync with GitH…
peterramsing Jun 4, 2016
e67027e
Bumps version
peterramsing Jun 9, 2016
20f55d4
Updates the License
peterramsing Jun 15, 2016
6daf330
Merge branch 'master' into beta
peterramsing Jun 18, 2016
63cb862
Bumps version to beta 3 for NPM testing
peterramsing Jul 2, 2016
ac1abba
Adds inline docs for lost-row: none
peterramsing Jul 2, 2016
71b28cf
Merge branch 'beta' for v7.0.1
peterramsing Jul 2, 2016
e5c9568
Updates the author and homepage
peterramsing Jul 2, 2016
1cae660
bumps version
peterramsing Jul 2, 2016
729360a
Fixes image linking to old url
peterramsing Jul 4, 2016
1c74187
Stop modifying default settings between builds
Jul 5, 2016
94feca1
Merge branch 'onlywei-reset-global-settings'
peterramsing Jul 6, 2016
c72917b
Removes tests/hacks not needed since #312
peterramsing Jul 6, 2016
bb80e90
Merge branch 'remove-unneeded-tests'
peterramsing Jul 6, 2016
795734c
Bumps version for release
peterramsing Jul 6, 2016
a012df9
Merge branch 'master' into remove-zoom
peterramsing Jul 6, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
*For support questions you might try tweeting me [@lostgrid](https://twitter.com/lostgrid) first.*

-----

**Is this a feature request or a bug report?**



**What is the current behavior?**



**If it's a bug please provide the steps to reproduce it and maybe some code samples.**



**What is the behavior that you expect?**



**What's the motivation or use-case behind changing the behavior?**



**What version of LostGrid, browser and browser version are affected by this issue? Did this happen in previous versions?**



**Anything else?**
18 changes: 18 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
**What kind of change is this? (Bug Fix, Feature...)**


**What is the current behavior (You can also link to an issue)**


**What is the new behavior this introduces (if any)**


**Does this introduce any breaking changes?**


**Does the PR fulfill these requirements?**
- [ ] Tests for the changes have been added
- [ ] Docs have been added or updated


**Other Comments**
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Cory Simmons
Copyright (c) 2016 Cory Simmons, Peter Ramsing, and LostGrid Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
64 changes: 14 additions & 50 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
<p align="center">
<img src="http://peterramsing.github.io/lost/lost-grid.svg">
<img src="http://lostgrid.org/lost-grid.svg">
</p>

<p align="center">
<a href="https://www.npmjs.com/package/lost"><img src="https://img.shields.io/npm/v/lost.svg?style=flat-square"></a>
<a href="https://github.com/peterramsing/lost/stargazers"><img src="http://img.shields.io/npm/dm/lost.svg?style=flat-square"></a>
<a href="https://travis-ci.org/peterramsing/lost"><img src="https://img.shields.io/travis/peterramsing/lost/master.svg?style=flat-square"></a>
<a href="https://gitter.im/peterramsing/lost"><img src="https://badges.gitter.im/Join%20Chat.svg"></a>
</p>

Lost Grid is a powerful grid system built in [PostCSS](https://github.com/postcss/postcss) that works with any preprocessor and even vanilla CSS. You can think of it like the [Autoprefixer](https://github.com/postcss/autoprefixer) of grid systems.
LostGrid is a powerful grid system built in [PostCSS](https://github.com/postcss/postcss) that works with any preprocessor and even vanilla CSS. You can think of it like the [Autoprefixer](https://github.com/postcss/autoprefixer) of grid systems.


## This project is currently transitioning maintainers.

[@corysimmons](https://github.com/corysimmons) Created this grid and has since moved on to other projects. [@peterramsing](https://github.com/peterramsing), is currently transitioning to maintaining this project.

### Near Future Roadmap Outline:
- [New documentation](https://github.com/peterramsing/lost/milestones/Site%20and%20Docs) to enhance learning and using Lost
- [6.7.0](https://github.com/peterramsing/lost/milestones/6.7.0%20-%20Minor%20Updates) - Some minor updates and fixes.
- [7.0.0](https://github.com/peterramsing/lost/milestones/7.0.0) - Looking to fix some issues and enable more ease of use.
- A focusing of Lost Grid. With the ever-changing web, Lost wants to be a tool that allows one to dive deep and enable powerful grids, not be the "one tool fits all". With improved documentation and a keen focus, Lost plans on being a great grid option to stand alongside the rest of them.

As always, if you have any questions, comments, or concerns please feel free to [open an issue](https://github.com/peterramsing/lost/issues/new). You're also welcome to tweet [@lostgrid](https://twitter.com/lostgrid) if an issue seems too formal.
Expand All @@ -32,7 +27,6 @@ Lost makes use of [`calc()`](https://webdesign.tutsplus.com/tutorials/calc-grids

## Table of Contents
- [Installation](https://github.com/peterramsing/lost/wiki/Installation)
- [Comparison Table](#better-than-x)
- [Getting Started](#getting-started)
- [Basic Columns](#basic-columns)
- [Centering Elements](#centering-elements)
Expand Down Expand Up @@ -63,37 +57,6 @@ Lost makes use of [`calc()`](https://webdesign.tutsplus.com/tutorials/calc-grids
- [Gotchas](#gotchas)
- [Thanks](#thanks)


## General Grid Comparison

Feature | Lost | [Bootstrap](http://getbootstrap.com/css/#grid) | [Foundation](http://foundation.zurb.com/grid.html) | [Jeet](http://jeet.gs/) | [Neat](http://neat.bourbon.io/) | [Susy](http://susy.oddbird.net/)
:-:|:-:|:-:|:-:|:-:|:-:|:-:
[Responsive](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#responsive) | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg">
[Small learning curve](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#small-learning-curve) | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg">
[Easy-to-implement](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#easy-to-implement) | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg">
[Works with Masonry](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#works-with-masonry) | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> |
[Terse markup](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#terse-markup) | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | | | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg">
[On-the-fly grids](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#on-the-fly-grids) | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | | | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg">
[Clean markup](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#clean-markup) | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | | | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg">
[Real gutters](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#real-gutters) | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | | | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg">
[Sass support](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#sass-support) | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg">
[Stylus support](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#stylus-support) | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | | | <img src="http://peterramsing.github.io/lost/checkmark.svg">
[LESS support](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#less-support) | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg">
[CSS support](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#css-support) | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg">
[No Additional Ratio Context](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#no-additional-ratio-context) | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | <img src="http://peterramsing.github.io/lost/checkmark.svg">
[Consistent Gutters on All Sides](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#consistent-gutters-on-all-sides) | <img src="http://peterramsing.github.io/lost/checkmark.svg">
[Lightweight](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#lightweight) | <img src="http://peterramsing.github.io/lost/checkmark.svg">
[Vertical Grids](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#vertical-grids) | <img src="http://peterramsing.github.io/lost/checkmark.svg">
[Waffle Grids](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#waffle-grids) | <img src="http://peterramsing.github.io/lost/checkmark.svg">
[Fixed Gutters](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#fixed-gutters) | <img src="http://peterramsing.github.io/lost/checkmark.svg">
[Flexbox Grids](https://github.com/peterramsing/lost/wiki/Comparison-Explanation#flexbox-grids) | <img src="http://peterramsing.github.io/lost/checkmark.svg"> | | <img src="http://peterramsing.github.io/lost/checkmark.svg">

<sup>If you notice anything in this table is incorrect, please don't hesitate to [open an issue](https://github.com/peterramsing/lost/issues/new) or [tweet](https://twitter.com/lostgrid)</sup>

**[:arrow_up: back to top](#table-of-contents)**

&nbsp;

### Getting Started

Lost Grid rules look like this:
Expand All @@ -108,9 +71,9 @@ And the processed CSS looks like this:

```css
div {
width: calc(99.99% * 1/3 - (30px - 30px * 1/3));
width: calc(99.9% * 1/3 - (30px - 30px * 1/3));
}
div:nth-child(n) {
div:nth-child(1n) {
float: left;
margin-right: 30px;
clear: none;
Expand All @@ -119,14 +82,12 @@ div:last-child {
margin-right: 0;
}
div:nth-child(3n) {
float: right;
margin-right: 0;
float: right;
}
div:nth-child(3n + 1) {
clear: left;
clear: both;
}

/*# sourceMappingURL=style.css.map */
```

**[:arrow_up: back to top](#table-of-contents)**
Expand Down Expand Up @@ -494,15 +455,18 @@ Lost uses PostCSS which means to override global variables we need to use someth
@lost gutter 60px;
@lost flexbox flex;
@lost cycle none;
@lost clearing left

.foo {
...
}
```

- `gutter` accepts any unit value. `30px` by default.
- `gutter` accepts any unit value. `30px` (default).
- `flexbox` accepts `flex` or `no-flex` (default).
- `cycle` accepts `none` or any digit (although this is really weird). `auto` by default.
- `clearing` accepts `left` or `both` (default).
- See [#276](https://github.com/peterramsing/lost/issues/276) for details

**[:arrow_up: back to top](#table-of-contents)**

Expand Down Expand Up @@ -619,6 +583,7 @@ Creates a row that is a fraction of the size of its containing element's height
- `fraction` - This is a simple fraction of the containing element's height.
- `gutter` - The margin on the bottom of the element used to create a gutter. Typically this is left alone and settings.gutter will be used, but you can override it here if you want certain elements to have a particularly large or small gutter (pass 0 for no gutter at all).
- `flex|no-flex` - Determines whether this element should use Flexbox or not.
- `none` - Resets the row (back to browser defaults)

```css
section {
Expand Down Expand Up @@ -775,7 +740,7 @@ div {
- If you're using [Less](http://lesscss.org/) there are sometimes issues with fractions being divided before Lost can interpret them.
- To fix, escape the math like so: `lost-column: ~"1/2";`.
- See: [Lost issue 229](https://github.com/peterramsing/lost/issues/229), [Less issue 974](https://github.com/less/less.js/issues/974)
- If you're using [Less](http://lesscss.org/) you need to escape any `@lost` declarations like so: [See Issue 197](https://github.com/peterramsing/lost/issues/197#issuecomment-170324607)
- If you're using [Less](http://lesscss.org/) in version `<2.6` you need to escape any `@lost` declarations like so: [See Issue 197](https://github.com/peterramsing/lost/issues/197#issuecomment-170324607)

```less
.escape-at-rules(@literal) {
Expand All @@ -802,10 +767,9 @@ div {

### Thanks
- [Cory Simmons](https://github.com/corysimmons) for creating this grid!
- [Alex Bass](http://abass.co) for letting me bounce ideas off of him.
- [Alex Bass](http://abass.co) for being available to bounce ideas off of.
- [Maria Keller](https://dribbble.com/mariakeller) for the amazing logo. Be sure to hire her for all your design and motion graphic needs.
- Everyone who files an [Issue](https://github.com/peterramsing/lost/issues) when something isn't working as expected.
- Everyone who is *actually* interested in my work on grids.

**[:arrow_up: back to top](#table-of-contents)**

Expand Down
3 changes: 3 additions & 0 deletions lib/lost-at-rule.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ module.exports = function lostAtRule(css, settings) {
css.walkAtRules('lost', function(rule) {
rule.params = rule.params.split(' ');

if (rule.params[0] == 'clearing') {
settings.clearing = rule.params[1];
}
if (rule.params[0] == 'gutter') {
settings.gutter = rule.params[1];
}
Expand Down
5 changes: 0 additions & 5 deletions lib/lost-center.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ module.exports = function lostCenterDecl(css, settings) {
});

if (lostCenterFlexbox === 'no-flex') {
decl.cloneBefore({
prop: '*zoom',
value: '1'
});

newBlock(
decl,
':after',
Expand Down
69 changes: 33 additions & 36 deletions lib/lost-column.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,11 @@ module.exports = function lostColumnDecl(css, settings) {
newBlock(
decl,
':nth-child('+ lostColumnCycle +'n)',
['margin-right'],
[0]
['margin-right', 'margin-left'],
[0, 'auto']
);
}

newBlock(
decl,
':nth-child('+ lostColumnCycle +'n)',
['float'],
['right']
);

newBlock(
decl,
':last-child',
Expand All @@ -127,34 +120,45 @@ module.exports = function lostColumnDecl(css, settings) {

newBlock(
decl,
':nth-child(n)',
['margin-right'],
[lostColumnGutter]
':nth-child(1n)',
['margin-right', 'margin-left'],
[lostColumnGutter, 0]
);

} else {
if (lostColumnCycle !== 0) {

if (settings.clearing === 'left') {
newBlock(
decl,
':nth-child('+ lostColumnCycle +'n + 1)',
['clear'],
['left']
);
} else {
newBlock(
decl,
':nth-child('+ lostColumnCycle +'n + 1)',
['clear'],
['both']
);
}

newBlock(
decl,
':nth-child('+ lostColumnCycle +'n + 1)',
['clear'],
['left']
':nth-child('+ lostColumnCycle +'n)',
['margin-right', 'float'],
[0, 'right']
);

} else {
newBlock(
decl,
':nth-child('+ lostColumnCycle +'n)',
['margin-right'],
[0]
['float'],
['right']
);
}

newBlock(
decl,
':nth-child('+ lostColumnCycle +'n)',
['float'],
['right']
);

newBlock(
decl,
':last-child',
Expand All @@ -164,7 +168,7 @@ module.exports = function lostColumnDecl(css, settings) {

newBlock(
decl,
':nth-child(n)',
':nth-child(1n)',
['float', 'margin-right', 'clear'],
['left', lostColumnGutter, 'none']
);
Expand All @@ -173,12 +177,12 @@ module.exports = function lostColumnDecl(css, settings) {
if (lostColumnGutter !== '0') {
decl.cloneBefore({
prop: 'width',
value: 'calc(99.99% * '+ lostColumn +' - ('+ lostColumnGutter +' - '+ lostColumnGutter +' * '+ lostColumn +'))'
value: 'calc(99.9% * '+ lostColumn +' - ('+ lostColumnGutter +' - '+ lostColumnGutter +' * '+ lostColumn +'))'
});
} else {
decl.cloneBefore({
prop: 'width',
value: 'calc(99.999999% * '+ lostColumn +')'
value: 'calc(99.9% * '+ lostColumn +')'
});
}
} else {
Expand All @@ -188,13 +192,6 @@ module.exports = function lostColumnDecl(css, settings) {
value: 'auto'
});

newBlock(
decl,
':nth-child(1n)',
['float', 'clear', 'margin-right', 'width'],
['none', 'none', 0, 'auto']
);

newBlock(
decl,
':nth-child(1n + 1)',
Expand All @@ -204,7 +201,7 @@ module.exports = function lostColumnDecl(css, settings) {

newBlock(
decl,
':nth-child(n)',
':nth-child(1n)',
['float', 'clear', 'margin-right', 'width'],
['none', 'none', 0, 'auto']
);
Expand Down
4 changes: 2 additions & 2 deletions lib/lost-masonry-column.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,15 @@ module.exports = function lostMasonryColumnDecl(css, settings) {

if (lostMasonryColumnGutter !== '0') {
cloneAllBefore({
'width': 'calc(99.99% * '+ lostMasonryColumn +' - '+ lostMasonryColumnGutter +')',
'width': 'calc(99.9% * '+ lostMasonryColumn +' - '+ lostMasonryColumnGutter +')',
'margin-left': (parseInt(lostMasonryColumnGutter) / 2) + lostMasonryColumnGutterUnit,
'margin-right': (parseInt(lostMasonryColumnGutter) / 2) + lostMasonryColumnGutterUnit
});


} else {
cloneAllBefore({
'width': 'calc(99.999999% * '+ lostMasonryColumn +')',
'width': 'calc(99.9% * '+ lostMasonryColumn +')',
'margin-left': (parseInt(lostMasonryColumnGutter) / 2) + lostMasonryColumnGutterUnit,
'margin-right': (parseInt(lostMasonryColumnGutter) / 2) + lostMasonryColumnGutterUnit
});
Expand Down
5 changes: 0 additions & 5 deletions lib/lost-masonry-wrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@ module.exports = function lostMasonryWrapDecl(css, settings) {
});

if (lostMasonryWrapFlexbox !== 'flex') {
decl.cloneBefore({
prop: '*zoom',
value: '1'
});

newBlock(
decl,
':after',
Expand Down
Loading