Giter Club home page Giter Club logo

chrome-css-shapes-editor's Introduction

CSS Shapes Editor for Chrome DevTools

Chrome DevTools extension for live on-screen editing of CSS Shapes property values. Uses the CSS Shape Editor library.

Screenshot

Demo

https://www.youtube.com/watch?v=zdWsBZiGiZc

How to install

Simple

Google Chrome

  1. Open Google Chrome (min version 37, check chrome://version/)
  2. Install extension from Chrome Web Store

Opera browser

  1. Open Opera (min version 24, check opera://about)
  2. Install extension from Opera add-ons registry.

From source

  1. Clone this repository.
  2. Open Google Chrome (min version 37, check chrome://version/ or download Canary)
  • Navigate to chrome://extensions
  • Toggle on "Developer mode" checkbox
  • Click "Load unpacked extension"
  • Select the cloned repository folder

How to use

  • Launch DevTools (View > Develop > Developer Tools)
  • Switch to Elements panel
  • Look for the new Shapes sidebar next to Styles, Event Listeners, etc.
  • In the Shapes sidebar:
    • click "create" and select a shape type to add
      • an interactive editor appears on top of the selected element
    • click "edit" to turn on editor and adjust an existing shape
    • click "edit" again to remove the editor
    • tip: hold the Shift key and click "edit" to convert the shape coordinate units

Sample content

Use with the CSS Shapes Espresso demo (source), or learn how to create your own sample.

Known limitations

  • Manually editing code in the Shapes sidebar, like in Styles, is not yet available.
  • There is no interactive editor for inset() shape function. Only polygon(), circle() and ellipse() are supported.

Credits

chrome-css-shapes-editor's People

Contributors

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