Search
Billionaire Mark Cuban Commends Defi Economy Dubbing It the ‘Next Great Growth Engine’
15.6.2021
On June 13, the billionaire investor and co-host of the television series Shark Tank, Mark Cuban, explained his fascination with decentralized finance (defi) in an editorial published to his blog. Cuban details that many defi organizations are different because they are not corporate entities...
Media Queries in Times of @container
15.6.2021
Max Böck took me up on my challenge to look through a codebase and see how many of the @media queries could ultimately become @container queries.
I took the bait and had a look at some of my projects –
…
The post Media Queries in Times of @container appeared first on CSS-Tricks.
You...
Making Tables With Sticky Header and Footers Got a Bit Easier
15.6.2021
It wasn’t long ago when I looked at sticky headers and footers in HTML <table>s in the blog post A table with both a sticky header and a sticky first column. In it, I never used position: sticky on …
The post Making Tables With Sticky Header and Footers Got a Bit Easier...
Gather Feedback Using the Amazing UserWell (Sponsored)
14.6.2021
Most websites and mobile apps collect all sorts of data to try to gain insights into what users are doing, not doing, and to gain insight into what users may want. Those metrics are useful but there’s a more valuable way to get information: direct feedback from users. Userwell is an awesome...
JavaScript Numeric Separators
10.6.2021
Writing good code is important — writing code that’s easily human readable is a next level skill. It’s not often that APIs are introduced whose seemingly only useful function is making code more readable, but let me introduce you to JavaScript numeric separators: an API that lets...
Can I :has()
4.6.2021
I just joked that we’re basically getting everything we want in CSS super fast (mostly referring to container queries, my gosh, can you imagine they are actually coming?). Now we might actually get parent selectors?! As in .parent:has(.child) { …
The post Can I :has() appeared first...
How to Restart
4.6.2021
I recently wrote a .bat script on Windows to mine Ethereum when I’m not using my gaming PC to frag noobs. I have a friend who also tries to mine cryptocurrencies but their machines have AMD processors; every once in a while, the processor and the mining executable start fighting and...
Are Custom Properties a “Menu of What Will Change”?
2.6.2021
PPK laid out an interesting situation in “Two options for using custom properties” where he and Stefan Judis had two different approaches for doing the same thing with custom properties. In one approach, hover and focus styles for a …
The post Are Custom Properties a “Menu...
Code blocks, but better
2.6.2021
Pedro Duarte made a wishlist for styled code blocks in blog posts and documentation, then hand-rolls a perfect solution for that wishlist. For example, a feature to be able to highlight certain lines or words within the code block. The …
The post Code blocks, but better appeared first...
CSS :is
31.5.2021
There are scores of developers who hate CSS; don’t get it, don’t want to get it, etc. Most of that is either down to inefficiencies within the language or misunderstanding of how to properly construct a website structure. I mostly love CSS but there are some parts of the language that...
Fact check: Has Coinbase launched a decentralized fact checking portal?
27.5.2021
Coinbase has launched a fact-checking portal to combat “misinformation and mischaracterizations about Coinbase or crypto” being shared online
Links on Web Components
26.5.2021
How we use Web Components at GitHub — Kristján Oddsson talks about how GitHub is using web components. I remember they were very early adopters, and it says here they released a <relative-time> component in 2014! Now they’ve got a
…
The post Links on Web Components appeared...
Links on Performance
25.5.2021
Making GitHub’s new homepage fast and performant — Tobias Ahlin describes how the scrolling effects are done more performantly thanks to IntersectionObserver and the fact that it avoids the use of methods that trigger reflows, like getBoundingClientRect. Also,
…
The post Links...
Should DevTools teach the CSS cascade?
22.5.2021
Stefan Judis, two days before I mouthed off about using (X, X, X, X) for talking about specificity, has a great blog post not only using that format, but advocating that browser DevTools should show us that value by …
The post Should DevTools teach the CSS cascade? appeared first...
fit-content and fit-content()
20.5.2021
Here’s some hardcore deep-dive CSS nerdery from PPK. If you can wrap your mind around min-content (the smallest an element can be based on the content it contains) and max-content (the largest the content of an element can push it) …
The post fit-content and fit-content() appeared...
Prevent Windows from Sleeping
20.5.2021
I have a few processes on my Windows gaming PC that are critical but sometimes get impacted over night as Windows tells my beloved machine to tone it down. My machine has the necessary cooling so I’m happy to let the processes do their work. There is a setting in the UI which allows...
Kenya Based Technology Firm Switches to Pancakeswap, Cites High Gas Fees on Uniswap
17.5.2021
In its bid to help users avoid high gas fees on Uniswap, a Kenya-based fintech firm, UTU, recently launched a liquidity pool on the decentralized exchange (dex), Pancakeswap. This launch enables prospective UTU coin buyers to acquire the token “with low fees and fast confirmation...
HTML Boilerplates
14.5.2021
Manuel Matuzović goes line-by-line through a boilerplate HTML document. I like it. It’s a good reference and has a lot of the same type of stuff I tend to put in the main HTML template. It makes me think about …
The post HTML Boilerplates appeared first on CSS-Tricks.
You can support...
DevTools for CSS layouts 2021 edition
14.5.2021
Chen Hui Jing covers some recent movement in DevTools:
Firefox’s grid inspector was pretty full-featured from the get-to and released together with CSS grid in Firefox 52. It was constantly improved upon since. Chrome added a basic grid inspector
…
The post DevTools for...
CSS Pie Timer Re-Revisited
12.5.2021
Kitty reflected on an ancient blog post here on CSS-Tricks on how to make an animated pie timer. The old technique is still clever. The new technique is equally clever and much easier. I particularly like the steps() animation function…
The post CSS Pie Timer Re-Revisited appeared first...