Pixilab
Home › Companies › Show HN launch › Centering a Div with Physics, Instead of CSS

Centering a Div with Physics, Instead of CSS

Show HN: Centering a Div with Physics, Instead of CSS

Centering a Div with Physics, Instead of CSS operates in show hn launch.

Profile

http://jared314.github.io/physics-based-page-layout/ (Javascript Required)After the last CSS centering article, I thought there had to be another way. So, I put together a basic Physics-based Page Layout system using an existing Javascript physics library, for springs, and an existing Javascript CSS parser library, for CSS Selectors and a custom CSS-like DSL. The end goal is to layout DOM elements with springs, and eventually collisions, instead of floats, margins, or padding.

Centering a Div with Physics, Instead of CSS is positioned in show hn launch, a segment that rewards a clear, focused offering.

Directory data places it at the Show HN launch stage.

SectorShow HN launch
StageShow HN launch

Website: jared314.github.io/physics-based-page-layout

Browse related

Contact details and direct channels are available to signed-in members.
Create a free account