- vừa được xem lúc

Thinking on ways to solve RELATIVE COLORS

0 0 2

Người đăng: Chrome for Developers

In today's GUI Challenge, @AdamArgyleInk shows you the CSS relative color syntax for creating color variants based on another color. 17 examples and use cases are shown to help you learn the capabilities and the syntax for this powerful color feature of CSS.

Chapters:
0:00 - Introduction
0:35 - What is RCS
1:50 - Can I use?
2:29 - Basic syntax
3:25 - Works with custom properties
4:12 - Use calc()
5:19 - Change opacity
6:58 - Provide entirely new values
7:40 - Desaturate relatively
8:34 - Desaturate absolutely
9:20 - Chroma boost
10:21 - Lighten
11:13 - Darken
11:38 - Remove hue
12:24 - Grayscale
12:50 - Complimentary
13:20 - Invert
13:58 - Mix & match vars
14:30 - Repeat vars
14:54 - Gotch with color()
15:30 - Palettes
17:20 - Outro

Resources:
Demo - https://goo.gle/3Q1lAU3
Source - https://goo.gle/3LJFAsE

Watch more GUI Challenges → https://goo.gle/GUIchallenges
Subscribe to Chrome for Developers → https://goo.gle/ChromeDevs

#GUIchallenges

Bình luận

Bài viết tương tự

- vừa được xem lúc

Chrome 88 - What’s New in DevTools

New to DevTools in Chrome 88:. . What’s new in DevTools (Chrome 88) → http://goo.gle/3owkBMr.

0 0 29

- vừa được xem lúc

New in Chrome 88: Manifest v3, aspect-ratio, digital goods API, and more!

Chrome 88 is rolling out now! You can now upload extensions using manifest v 3 to the Chrome Web Store. The aspect-ratio CSS property makes it easy to set the aspect ratio on any element.

0 0 18

- vừa được xem lúc

Thinking on ways to solve a SIDENAV

In today’s GUI challenge we create a responsive, accessible slide out side navigation user experience using CSS and JS. The sidenav works on multiple browsers, screen sizes and input devices.

0 0 35

- vừa được xem lúc

Dithering - HTTP 203

How do you take an image with 256 shades of grey and map it to an image with just two colors? Jake and Surma go down the monochrome image dithering rabbit hole and explain how different dithering tech

0 0 29

- vừa được xem lúc

Submission shoutouts for SIDENAV

We asked the community to build a sidenav component your way and you all delivered! Check out the submissions:. @a_nurella → http://goo.gle/3j9bmQm. @mayeedwin1 → http://goo.

0 0 17

- vừa được xem lúc

JavaScript counters the hard way - HTTP 203

You’ve seen loads of counter tutorials online, but they’re all a bit wrong… or at least most of them are. Jake and Surma dissect different techniques and identify how to make the counter work accurate

0 0 34