s being added to the DOM. So I guess it’s not as perfect for the table of contents use-case, but it’s still pretty cool. Now I’m thinking about other DOM-entrance animations, like list items that slide in, or modals that fade in.
Sometimes we get new CSS stuff, and it’s just great right on the surface. Oh, the oklch() 色関数?きちんと、それは鮮やかなP3色を行うことができます。きちんと、それは知覚的に均一な軽さを持っています。きちんと、勾配補間は、いくつかの色のペアリングでは間違いなくより良いです。
それが私がアダム・アーガイルを読むことについて考えていたことです a color-contrast() 無料の半透明の背景のための戦略。見たことがないなら color-contrast() しかし、それは特定の色に対する色のリストから最も視覚的に対照的な色を選ぶ関数です。与えられた色はおそらくaです --custom-property それが変わる可能性があることを意味するため、最も対照的な色が何であるかを事前に知りません。それは素晴らしいです!しかし、アダムはそれをもう少し進めます。彼は、テキストの後ろにわずかに透明な黒または白色を置くことで、さらにコントラストを蹴りたいと思っています。
html {
--bg: hsl(var(--hue) 50% 50%);
}
h1 {
--text: color-contrast(var(--bg) vs black, white);
color: var(--text);
background: hsl(0 0% 0% / 40%);
}
@supports (background: hsl(from red h s l)) {
h1 {
background: oklch(from color-contrast(var(--text) vs black,white) l c h / 40%);
}
}
Action video gamers have enhanced functional and structural connectivity in the dorsal visual stream https://www.psypost.org/action-video-gamers-have-enhanced-functional-and-structural-connectivity-in-the-dorsal-visual-stream/
元論文
Connectivity in the Dorsal Visual Stream Is Enhanced in Action Video Game Players https://doi.org/10.3390/brainsci14121206