Search
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...
Apparently, You Can Use Route53 as a Blazingly Fast Database
6.5.2021
Routtumbe53 is DNS management service by AWS. DNS is absolutely not a database, and yet here’s Nicholas Martin writing up some very clever trickery originally done by Corey Quinn:
When you think about it, DNS configuration is actually a
…
The post Apparently, You Can Use Route53...
Apparently, You Can Use Route53 as a Blazingly Fast Database
6.5.2021
Route53 is DNS management service by AWS. DNS is absolutely not a database, and yet here’s Nicholas Martin writing up some very clever trickery originally done by Corey Quinn:
When you think about it, DNS configuration is actually a
…
The post Apparently, You Can Use Route53 as...
Not All Advice is Good Advice
6.5.2021
From the time we’re children, we’re trusting people. We rely on those close and older than us to point us toward success and “the right way”. One of the toughest days of our lives is when we realize our parents, or people we look up to, aren’t always perfect...
Let’s use (X, X, X, X) for talking about specificity
4.5.2021
I was just chatting with Eric Meyer the other day and I remembered an Eric Meyer story from my formative years. I wrote a blog post about CSS specificity, and Eric took the time to point out the misleading nature …
The post Let’s use (X, X, X, X) for talking about specificity appeared first...
HTML report v jazyce Java na pár řádků (dokončení)
1.5.2021
V minulém blogu jsem prezentoval tvorbu tabulkového HTML reportu s AJAX filtrováním a uživatelským řazením sloupců – pomocí několika málo řádků kódu zapsaných do jediného příkazu jazyka Java. Využil jsem k tomu třídu ReportBuilder z frameworku Ujorm. Dnes bych vám rád ukázal, jak lze do buněk...
Web Languages as Compile Targets
30.4.2021
Jim Nielsen quoting Eric Bailey:
He references an example on Twitter where someone noted you can use the <details> element to “create a native HTML accordion,” to which someone responded: “this works without Bootstrap? 🤯”
What’s the problem here? From
…
The post...
Image Optimization Strategies Compared (Sponsored)
30.4.2021
We all know the stats. Slower website performance is strongly linked to higher abandon rates and lower conversions. What you may not know is that the main culprit is bloated web page payloads, bringing down our otherwise performant web pages via images. That being said, images also drive...
Domácí wifi mesh pomocí Xiaomi Mi Router AX1800
28.4.2021
Bydlím v půlce dvojdomku a rozhodl jsem se, že celý dvojdomek pokryji signálem wifi. Možností jak to udělat je víc. Typy zařízení Existují následující typy zařízení, které by mi s daným úkolem pomohly: Wifi Extender Wifi Router Wifi Access Point Wifi Extender je ta nejhorší možnost. Pro svou funkci...