Coder Social home page Coder Social logo

backgroundColor about velocity HOT 4 CLOSED

julianshapiro avatar julianshapiro commented on June 17, 2024
backgroundColor

from velocity.

Comments (4)

julianshapiro avatar julianshapiro commented on June 17, 2024

Thanks, @guialberti :) Much appreciated.

What you're doing won't work. You need to animate individual RGB components. Read the docs on colors: http://VelocityJS.org/#colors

from velocity.

kokarn avatar kokarn commented on June 17, 2024

We've started using velocity at work now for a few projects and I must it's working great.

I'm a bit curious why you've decided to go this way when animation color instead of the way guialberti talked about? All these properties add upp pretty quickly when you start to animate color on multiple parts of an element. I really don't care if it's hex or an RGBA string or even an object with RGBA properties but it still seems a bit complicated for the end user?

Thanks, as always, for a really great library.

from velocity.

julianshapiro avatar julianshapiro commented on June 17, 2024

It let me cut down on code bloat and also simplified my code overall. I'll take another look at this in the coming days though.

from velocity.

kokarn avatar kokarn commented on June 17, 2024

Ah, I see. That makes a lot of sense.

Thanks for the quick response!

from velocity.

Related Issues (20)

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.