Leon's Microblog – Posts tagged "CSS"

Do you ever just look at a CSS tech demo that implements some neat gradient-based transition effect using pure CSS, and think to yourself "a plain image in a data URI has to be smaller than this"
A really large CSS mask declaration using linear-graidents that can't even fit on the screen
Going into the webdev laboratory (i.e. pressed F12) to see how color-mix() in CSS works with getComputedStyle(). Can it simply get you the fully computed colour? It seems: yes, it can! But it's in the format of the color model you mixed with.
A <div> element with "background-color: color-mix(in lab, burlywood 60%, #f00 50%);". The JS code "getComputedStyle(temp1).backgroundColor" produces the string 'lab(66.8555 41.8029 48.313)'
They're adding a CSS value called "pretty"? That's the best name they could come up with? The text wrapping is "pretty"?? Why not give up the pretense and call it "good" or "epic" or "awesomesauce" or something
Me: "Dang, CSS text rendering tech has gotten really snazzy lately. I wonder what new properties they used to make that white outline so–"
All original content on this site, except where noted, is property of Leon, all rights reserved.