Skip to content

border-box model... #33

Closed
Closed
@shawnhaigh

Description

@shawnhaigh

In modern CSS frameworks box-model: border-box is applied globally ex.

*, *:before, *:after {box-model: border-box;}

When implementing iframeResizer in this environment, the height calculation is off slightly and the frame re-sizes continuously making the page repaint and the CPU shoots up to 100%.

Placing {border-box: content-box} globally seems to fix the issue but breaks the framework.

Any ideas on what can be done so iframeResizer can live happily inside a css framework?

If you need more info just let me know, Thanks in advance for any insight.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions