Search
Using the `outline` Property as a Collapsable Border
18.6.2021
The outline property in CSS draws a line around the outside of an element. This is quite similar to the border property, the main exception being that outline isn’t a part of the box model. It is often used for …
The post Using the `outline` Property as a Collapsable Border appeared first...
Over 3,000 ATMs in Beijing Offer Digital Yuan Withdrawals
18.6.2021
Leading Chinese banks have introduced digital yuan withdrawals at more than 3,000 ATM locations in Beijing. Residents of the capital city will now be able to exchange their e-CNY funds for cash and vice versa. Some of the teller machines are located in a popular shopping area. Banks Launch Support...
Links on Typography
18.6.2021
I studied the fonts of the top 1000 websites. Here’s what I learned. — Michael Li brings the data. San-serif has total dominance. “[…] it is rare to go below 10px or above 24px.” And poor <h5> always being the
…
The post Links on Typography appeared first...
Bitcoin retests $37K support, gold and stocks drop lower over Fed comments
18.6.2021
Steady BTC inflows to crypto exchanges and fallout from the Federal Reserve’s plan to hike interest rates dropped Bitcoin price to the $37,000 support
Perfect Tooltips With CSS Clipping and Masking
17.6.2021
Clipping and masking have been around for a while now in CSS and even have pretty decent browser support. I recently worked on a project that needed to use a clipping technique for tooltips showing above links in text.
Those …
The post Perfect Tooltips With CSS Clipping and Masking appeared...
Start Serving Optimized Images in Vue
17.6.2021
Images have become extremely important to the effectiveness of websites. They speak a 1000 words, attract attention, and stimulate emotions.
However, web performance is also a growing problem for most websites. And images are at the heart of many web …
The post Start Serving Optimized Images...
Central American Bank for Economic Integration to Help El Salvador Implement Bitcoin as Legal Tender
17.6.2021
The Central American Bank for Economic Integration (CABEI), which has 15 member countries, will help El Salvador implement bitcoin as legal tender. The CABEI president has expressed his support. “We’re very optimistic,” he said. Central American Bank for Economic Integration...
Inline Styles as Classes (lol)
16.6.2021
If you’re abhorred by using inline styles, just move that style to the class attribute! And then make sure you have CSS in place that, ya know, does what it says on the box.
I've revolutionized CSS. pic.twitter.com/1AWCldyCwP
— Sam
…
The post Inline Styles as Classes (lol)...
Useful and Useless Code Comments
16.6.2021
Jim Nielsen:
If somebody says a comment isn’t adding any value, I would ask: to whom?
Personally, I’ve never liked the advice that writing obvious comments is bad practice—probably because I write obvious comments all the time.
Jim showed …
The post Useful and Useless Code Comments...
How I Used the WAAPI to Build an Animation Library
16.6.2021
The Web Animations API lets us construct animations and control their playback with JavaScript. The API opens the browser’s animation engine to developers and was designed to underlie implementations of both CSS animations and transitions, leaving the door open to …
The post How I Used...
Detect Unused Classes in… HTML
16.6.2021
Usually, when “unused” comes up in conversation regarding CSS, it’s about removing chunks of CSS that are not used in your site or, at least, the styles not currently in use on a specific page. The minimal amount of CSS …
The post Detect Unused Classes in… HTML...
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...
Just How Niche is Headless WordPress?
15.6.2021
I wonder where headless WordPress will land. And by “headless” I mean only using the WordPress admin and building out the user-facing site through the WordPress REST API rather than the traditional WordPress theme structure.
Is it… big? The future …
The post Just How Niche...
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...
Bitcoin and Ether Price Indicators Support Near-Term ‘Relief Rally’
14.6.2021
Bitcoin's weekly stochastic oscillator has turned up from oversold or below -20 levels, a positive sign for the cryptocurrency
CSS-Tricks Chronicle XXXX
14.6.2021
Just a little link roundup of some off-site stuff I’ve done recently. As I’m wont to do from time to time.
DevJourney Podcast
#151 Chris Coyier from ceramics to CSS-Tricks and CodePen‘
Chris took us from playing on
…
The post CSS-Tricks Chronicle XXXX appeared first...
Securing Your Website With Subresource Integrity
14.6.2021
When you load a file from an external server, you’re trusting that the content you request is what you expect it to be. Since you don’t manage the server yourself, you’re relying on the security of yet another third party …
The post Securing Your Website With Subresource Integrity appeared...
Remittance firms hesitant to support BTC despite legal tender law in El Salvador
14.6.2021
Remittance firms operating in El Salvador appear reluctant to support Bitcoin despite the country's new law mandating the crypto asset as legal tender
Safari 15: New UI, Theme Colors, and… a CSS-Tricks Cameo!
11.6.2021
There’s a 33-minute video (and resources) over on apple.com covering the upcoming Safari changes we saw in the WWDC keynote this year in much more detail. Look who’s got a little cameo in there:
Perhaps the most noticeable thing there …
The post Safari 15: New UI, Theme Colors...
The Possibilities of Syndication
11.6.2021
That’s the one word that isn’t an adjective in the acronym RSS.
Really Simple Syndication.
RSS isn’t just about RSS readers. Even though, gosh if I don’t love RSS readers. It’s about putting content in a format that is …
The post The Possibilities...