Skip to content

Consider removing zoom: 1 #194

@qasimalyas

Description

@qasimalyas

First of all @corysimmons thanks for building lost. Its awesome and i'm using it at the moment on a SaaS codebase which is going to be a good test for this grid system.

I've been paying careful attention to the output CSS and there are things which I think can be improved.
The zoom: 1 is redundant and unnecessary. zoom: 1 is a proprietary rule which "fixed" layout issues in IE6 and 7 only - which was typically clearing floats.

Since calc isn't support in IE6, 7 and 8 then this can be omitted entirely and everything will still work from IE9+ - which is what lost supports.

I understand that there is a calc polyfill to give IE8 support in but still, zoom: 1, isn't required. The traditional clearfix method is sufficient for IE8.

So in summary, please consider removing it entirely. zoom: 1 was applicable in IE6 and 7 only.

: )

PS: I did see this issue raised before.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions