Fit width text in 1 line of CSS
The Chrome team recently prototyped a working solution for fitting text to the width of a container in CSS using a
text-grow property. text-grow property. …Chrome 144 features a small change to
overscroll-behavior: it now also works on non-scrollable scroll containers. While this change might seem trivial, it fixes an issue developers have been dealing with for ages: prevent a page from
stretch does the same thing as declaring 100%, but ignores padding when looking at the available space. When I first started messing around with code, rounded corners required five background images or an image sprite likely created in Photoshop, so when border-radius came onto the scene, I remember everybody thinking that it was the best thing ever. …
I had someone write in with this very legit question. Lea just blogged about how you can get valid CSS properties themselves from the browser. That’s like this.…