Coder Social home page Coder Social logo

quickframe's Introduction

Quickframe

Don't make the Demo look Done -- Kathy Sierra

Quickframe is a set of CSS styles to help make throw away wireframes directly in HTML.

It aims to be as low ceremony as possible, with most of the styling being provided by matching simple HTML tags.

Fonts are provided by Google Fonts CDN. There is one file and no other dependencies.

Tags and Classes

The main classes provided by quickframe are .grid and .wire.

  <article class="grid Layout">
    <header class="wire Layout__header">header</header>
    <nav class="wire Layout__nav">nav</nav>
    <section class="wire Layout__section">
      <button>Do Something</button>
      <select>
        <option>1</option>
        <option>2</option>
        <option>3</option>
      </select>

      <input type="checkbox" id="test1" />
      <label htmlFor="test1">Red</label>
      <img alt="An image placeholder" />
    </section>
    <footer class="wire Layout__footer">footer</footer>
  </article>

An example of a quickframe

Install

Simply copy the index.css to your local web server and link to the stylesheet from HTML.

Alternatively install as dev dependency using npm.

Currently this is work in progress and not yet published to npm.

Until it's published it can be tested by cloning the repo and using npm link locally:-

git clone [email protected]:seandunn/quickframe.git

cd quickframe; npm link

cd /path/to/your/test/project; npm link quickframe

and link to HTML using your preferred method.

e.g. If using webpack for CSS ala create-react-app

  import 'quickframe/index.css';

quickframe's People

Watchers

 avatar  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.