Giter Site home page Giter Site logo

flexboxer's Introduction

FlexBoxer

A flexbox layout builder. Flexboxer is a visual tool for creating flexbox css rules.

Installing

You need a POSIX environment (Linux / OS X), NodeJS, NPM and JSPM installed. You can get the latter by running:

npm install -g jspm

Checkout the project, and run:

npm install

jspm install

Building

This project uses simple npm commands for building, rather than a dedicated tool like gulp or grunt. The following scripts are available:

  • npm run build - build the project into the dist/ directory.
  • npm run serve - serve the project from src/.
  • npm run serve-dist - serve the projet from dist/

The npm run build command is actually running all these, in the following order:

  • npm run bundle - create an SFX bundle with JSPM, in dist/
  • npm run uglify - compress dist/build.js into dist/build.min.js
  • npm run html-dist - copy index.html from src/ to dist and replace the script tags for release
  • npm run styles - copy the stylesheet from src/styles to dist/styles

TODO, v1.1

  • Improve defaults for new layout items:
  • random colour bg;
  • magic incrementing selector
  • Hover highlighting in Tree / Visualiser.
  • Export to JSBin / JSFiddle / etc.
  • Tests >:-S

TODO, v2.0

  • Drag and drop tree?
  • Better input controls, with dev-tools like autopopulation and keyboard shortcuts
  • Internal save (as opposed to only exporting to third parties)
  • Output as less / scss as well as CSS

flexboxer's People

Contributors

pete-otaqui avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.