GreenSock was an order of magnitude easier. “Spent today converting an animation to pure CSS, and then into GSAP.I’ve managed to learn so much from that so I’ll always be “GSAP makes my job fun, because it allows me to focus on creating rich, engaging web experiences, while GSAP handles much of the implementation details behind the scenes.” It’s been one of the most enjoyable things I’ve ever studied and the team do a fantastic job of making it first of all but also in the fantastic forums. “Sincerely, the people behind GSAP are “I absolutely love working with GSAP.I love pushing native CSS animation as far as I can but every time I use GSAP I’m just blown away. “I really need to commit to using GSAP more in my daily work & demos.“GSAP IS the animation library and has been for years.“I was astonished by the speed and versatility of animating with GSAP.”.Interestingly enough there is a project that gives an alternative to using HSL to something that is more pleasing to our human eyes. Whereas RGB seems more consistent and easier on my eyes, when interpolating between lighter and darker colors. HSL color interpolates between lighter and darker color wavelengths inconsistently, before getting to the actual color destination. Even though HSL is easier to remember and code with. In my own tests i have noticed that color transitions seem to be smoother (with easing) using RGB color space versus HSL color space. The end value in the browser is always RGB.īackground-color rgb(97, 255, hsl(97, 100%, 50%) The only time i have seen the computed inherited remains as the HSL value is when i set the property through my style sheet and use a CSS transition, but still the final computed ends up as an RGB value, but the original inherited value of the color on the element through the style sheet is the HSL value. is that the browser like Rodrigo stated above will always end up with a RGB value. The interpolation is done between premultiplied colors (that is, colors for which the red, green, and blue components specified have been multiplied by the alpha).įrom what i have seen in my own tests. color: interpolated via red, green, blue and alpha components (treating each as a number, see below).Looks like the CSS spec only supports transitioning via (RGB) red, green, and blue components, so it always converts the given color space to RGB:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |