Code Monkey home page Code Monkey logo

draggradients's Introduction

draGGradients

A simple tool to generate and customize multiple css3 radial gradients.

I get back an old project that uses a multiple gradient jpg image as a background and started to generate the same image in css-only. Instead of code only this image I finished doing this little stuff.

Tool page

How to use it?

Toggle main controls clicking the cog-icon on the up-right corner (also pressing ESC key) to customize, add and arrange each point generator.

Basically the tool works generating radial-gradients from each draggable point, and you could control:

  • The main color. Wrinting any valid (rgba, rgb, hex, html, etc) color type or picking one from the colorPicker.
  • The position. Dragging each point in the canvas.
  • The deep. Sliding or changing the value, you could set the percentage of each radial-gradient.

You could also add, delete and arrange each point from the same section.

In the bottom left menu, you could:

  • Toggle points. Switch on/off the points from the main view.
  • Change background. It modifies the last child of the gradient that works as background.
  • Generate random. Clicking on the shuffle-icon.
  • Presets from uigradients by Indrashish Ghosh.

Of course you could copy the generated code clicking the code-icon and generate a pen clicking on Codepen icon

This is a simple, little, tool made with โค by @elrumordelaluz

draggradients's People

Contributors

elrumordelaluz avatar

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.