Search
Exploring the Complexities of Width and Height in CSS
5.2.2021
The following article is co-authored by Uri Shaked and Michal Porag.
Let’s explore the complexities of how CSS computes the width and height dimensions of elements. This is based on countless late-night hours debugging and fiddling with lots of …
The post Exploring the Complexities of Width...
Weekly Platform News: The :not() pseudo-class, Video Media Queries, clip-path: path() Support
5.2.2021
Hey, we’re back with weekly updates about the browser landscape from Šime Vidas.
In this week’s update, the CSS :not pseudo class can accept complex selectors, how to disable smooth scrolling when using “Find on page…” in Chrome, Safari’s …
The post Weekly...
What Your Genshin Impact Crush Says About You
5.2.2021
Anime games are about thirst, and Genshin Impact fans are among the thirstiest. They keep sending the game’s hottest characters to the top of Twitter’s trending topics with alarming frequency. Whether you’re one of these thirsty weebs, or you’re trying to understand why your friends can’t shut...
You No Longer Have To Hear Hate Speech While Playing Destruction AllStars
5.2.2021
Since Destruction AllStars released for PlayStation 5 a whole 72 hours ago, the game has been plagued by reported instances of verbal harassment, exacerbated by a voice chat that’s turned on by default. Today, developer Lucid Games released a fix that switches the default chat to “off.”Read more
The Best New-Ish Movies You Have To Watch This Month
5.2.2021
Top Pick: Tenet (Blu-ray, Digital) | $15 | AmazonRead more
Some React Blog Posts I’ve Bookmarked and Read Lately
5.2.2021
The React Hooks Announcement In Retrospect: 2 Years Later — Ryan Carniato considers hooks to be the most significant turning point in front end in the past five years, but he also says hooks have muddied the waters as well.
…
The post Some React Blog Posts I’ve Bookmarked and Read...
What Are You Playing This Weekend?
5.2.2021
The weekend is for going through all the cool indie game demos available in the Steam Game Festival. I would suggest other activities, but there are more demos than there is weekend. Read more
Some Typography Blog Posts I’ve Bookmarked and Read Lately
4.2.2021
Font-size: An Unexpectedly Complex CSS Property — From Manish Goregaokar in 2017. Of many oddities, I found the one where font: medium monospace renders at 13px where font: medium sans-serif renders at 16px particularly weird.
The good line-height — Since
…
The post Some Typography Blog...
Lazy Load Routes in Vue with webpack Dynamic Comments
4.2.2021
The way routing works in JavaScript is usually that you specify which relative URL pattern you want for which component to render. So for /about you want the <About /> component to render. Let’s take a look at how to …
The post Lazy Load Routes in Vue with webpack Dynamic Comments...
Stressed Out? Take This Quiz to Find out What Kind of Cornbread Hemp CBD Is Right for You [Exclusive]
4.2.2021
Certified Organic CBD Oil | $88 | Cornbread Hemp | Promo code KINJA2020% off CBD | Cornbread Hemp | Promo code KINJA20Read more
Algolia
4.2.2021
Algolia is for search. Literally any website can take advantage of Algolia-powered search. You put JSON data (“records”) in, and then you can search them at lightning speed. The magic of Algolia is that they help you with both of …
The post Algolia appeared first...
Some Performance Blog Posts I’ve Bookmarked and Read Lately
3.2.2021
Back/forward cache — I always assumed browsers just do fancy stuff with the back/forward buttons and us developers had very little control. Philip Walton tells us it’s critical that we understand “what makes pages eligible (and ineligible) for bfcache to
…
The post Some...
Going From Solid to Knockout Text on Scroll
3.2.2021
Here’s a fun CSS trick to show your friends: a large title that switches from a solid color to knockout text as the background image behind it scrolls into place. And we can do it using plain ol’ HTML and …
The post Going From Solid to Knockout Text on Scroll appeared first...
So You’re Not a Bitcoin Whale – But What Kind of BTC Sea Creature Are You?
3.2.2021
You’ve probably heard about the overarching influence of bitcoin (BTC) whales, but it turns out there are plenty more fish in the crypto sea – and they all have an impact on the health of the sector. Are you one of those hard-to-find whales after all, or are you a mere crypto ocean bottom feeder?...
Pulse DeFi LTD Provides a Full Range of Financial Services, With Decentralization at the Forefront
3.2.2021
Pulse DeFi LTD Is a new London-based platform for digital token farming, staking, lending and borrowing. It provides a full range of services that can replace the old established financial system, but with decentralization at the forefront. Pulse DeFi LTD Wants You to Be Able to Trust the Economy...
The Web is for More Than Document Viewing
3.2.2021
I poked at a tweet from Ken Kocienda over the weekend:
“Water not wet” reports man standing in ocean. https://t.co/5oUUdWARTU
— Chris Coyier (@chriscoyier) January 31, 2021
I don’t know Ken, so I feel a little bad for being harsh. …
The post The Web is for More Than Document...
I Saw Two Mega Menus Today…
2.2.2021
One was the footer of an (older) U.S. Government website. The other was the navigation for AWS services from the AWS Console.
The post I Saw Two Mega Menus Today… appeared first on CSS-Tricks.
You can support CSS-Tricks by being an MVP Supporter
Dynamically Switching From One HTML Element to Another in Vue
2.2.2021
A friend once contacted me asking if I had a way to dynamically change one HTML element into another within Vue’s template block. For instance, shifting a <div> element to a <span> element based on some criteria. The trick was …
The post Dynamically Switching From One HTML...
What Facebook's Privacy Policies Don't Tell You
2.2.2021
Folks, I’m gonna be honest with you. Over my (short) tenure covering digital privacy, I’ve seen my fair share of deeply shitty tech companies pulling deeply shitty stunts in attempts to profit off our personal data. Facebook is one of the names that comes up most frequently here, and that’s...
Confessions of a Web Developer XVIII
2.2.2021
It’s been quite a while since I’ve gotten a few things off of my chest and since I’m always full of peeves and annoyances I thought it was time to unleash: Sometimes you need to get out of the cult and stop drinking the Kool-Aid to see an organization for what it is. My childhood...