Giter Site home page Giter Site logo

stylo's Introduction

Stylo

Stylo is a web app designer written in CoffeeScript and Spine. It allows you to manipulate various HTML elements, add styles and edit text.

You can find a demo here (webkit only).

Stylo

Code examples

The code should provide good examples of how to achieve the following:

More

For more information, please see the blog post.

stylo's People

Contributors

alex-stripe avatar maccman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stylo's Issues

when resizing a box and pressing Shift, cursor no longer touches handle

how to reproduce

  • go to http://styloapp.com/
  • click the gray rectangle in the top-left to add a gray rectangle to the stage
  • Drag the bottom-right resize handle around. The corner sticks to the mouse position; that’s good.
  • now try dragging the handle around again, but occasionally tap the Shift key on the keyboard

expected

While dragging while Shift is released, the grabbed corner moves back to right under the mouse cursor

actual

While dragging while Shift is released, the grabbed corner moves around at a position relative to the mouse and not under it. The corner moves as if under an invisible mouse cursor at a position translated from the real position.

comments

Playing around with dragging and Shift should easily show what rules Stylo currently follows for resizing, and what situations will mess up the dragging handle position. What’s left is to change those rules to match the standard and intuitive behavior for similar object-layout apps.

the demo page

"You can find a demo here (webkit only)"

Really weird stuff is happening if I click that link.. Do you own that domain?

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.