Search
Proposal for CSS @when
22.9.2021
CSS is on a tear lately. Again, I’ve heard of a brand new thing I’ve never seen before, and again it’s via Miriam: CSS Conditionals.
???? CSSWG just resolved to adopt @tabatkins when/else proposal into the next level of CSS
…
The post Proposal for CSS @when appeared...
Cascade Layers?
21.9.2021
There is a new thing coming in CSS: @layer. As with all new things, it takes time to really wrap your head around it. And despite me tapping at my keyboard about it, full disclosure, I’m not sure my …
The post Cascade Layers? appeared first on CSS-Tricks. You can support CSS-Tricks...
7 Practical Uses for the ::before and ::after Pseudo-Elements in CSS
21.9.2021
CSS ::before and ::after pseudo-elements allow you to insert “content” before and after any non-replaced element (e.g. they work on a <div> but not an <input>). This effectively allows you to show something on a web page that might …
The post 7 Practical Uses...
Resources aren’t requested by CSS, but by the DOM
21.9.2021
This is a good tweet from Harry:
Simple yet significant thing all developers should keep in mind: CSS resources (fonts, background images) are not requested by your CSS, but by the DOM node that needs them [Note: slight oversimplification, but
…
The post Resources aren’t requested...
Exploring the CSS Paint API: Polygon Border
20.9.2021
Nowadays, creating complex shapes is an easy task using clip-path, but adding a border to the shapes is always a pain. There is no robust CSS solution and we always need to produce specific “hacky” code for each particular …
The post Exploring the CSS Paint API: Polygon Border appeared...
Computer Science Unleashed, Chapter 1: Connections
17.9.2021
Humans crave connections, and the advent of the digital revolution has empowered us to be more connected than ever before. The Internet has unleashed upon billions of people unprecedented economic and political freedom, as well as powerful means of control and domination. Yet, the vast majority...
Minding the “gap”
16.9.2021
You might already know about the CSS gap property. It isn’t exactly new, but it did gain an important new ability last year: it now works in Flexbox in addition to CSS Grid. That, and the fact that I …
The post Minding the “gap” appeared first on CSS-Tricks. You can support...
Thousands Joined Anti-Bitcoin March in El Salvador, BTC ATM Torched
16.9.2021
ps://apnews.com/article/technology-elections-bitcoin-nayib-bukele-el-salvador-b4ca6f06417074dbd254a205a452b426">reported. The protesters argued that Bukele has too much power concentrated in his hands, and that he has weakened the courts’ independence. These marchers are firmly against his seeki
Ground Reports Concerning Salvadoran Bitcoin Law Highlight False Narrative Painted by Influencers
15.9.2021
On Tuesday, Bitcoin.com News spoke with Marc Falzon, an individual who has been documenting the bitcoin rollout in El Salvador since the law was implemented on September 7. Falzon says that there are a number of issues that no one is talking about in regard to the bitcoin law and the Chivo wallet...
An Intro to JavaScript Proxy
15.9.2021
Have you ever been in a situation where you wish you could have some control over the values in an object or array? Maybe you wanted to prevent certain types of data or even validate the data before storing it …
The post An Intro to JavaScript Proxy appeared first on CSS-Tricks. You...
Authorities Seize USD 5.2m in Crypto from ‘Tax Dodgers’
15.9.2021
tax crackdown on suspected cases of unreported or underreported taxable income by studying customer data they were handed by the nation’s four largest crypto exchanges
On the `dl`
15.9.2021
Blogging about HTML elements¹? *chefs kiss*
Here’s Ben Myers on the (aptly described) “underrated” Definition List (<dl>) element in HTML:
You might have also seen lists of name–value pairs to describe lodging amenities, or to list
…
The post On the `dl` appeared...
Russian Blockchain Experts Are Offered Almost x5 the National Average Salary
14.9.2021
ww.reuters.com/article/russia-economy-gdp/russian-economy-grows-10-5-y-y-in-q2-its-strongest-leap-since-2000-idUSR4N2PJ028">reported, the Federal State Statistics Service (Rosstat) released quarterly data showing that the Russian economy had actually grown by a staggering 10.5% year-on-year for
Building a Form in PHP Using DOMDocument
14.9.2021
Learn how to build an HTML form in PHP using DOMDocument — a structured and expressive way to build logical markup.
The post Building a Form in PHP Using DOMDocument appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter
Grainy Gradients
13.9.2021
Browse through Dribbble or Behance, and you’ll find designers using a simple technique to add texture to an image: noise. Adding noise makes otherwise solid colors or smooth gradients, such as shadows, more realistic. But despite designers’ affinity for texture, …
The post Grainy Gradients...
Social Image Generator + Jetpack
13.9.2021
I feel like my quest to make sure this site had pretty sweet (and automatically-generated) social media images (e.g. Open Graph) came to a close once I found Social Image Generator.
The trajectory there was that I ended up …
The post Social Image Generator + Jetpack appeared first...
Today’s Cryptocurrency Data Aggregators Offer a Plethora of Onchain and Market Insights
13.9.2021
In the early days, there were only a few web portals with cryptocurrency statistics and data tied to these ever-changing digital asset markets and blockchain metrics. More than ten years later, however, data and analytics tethered to the world’s most popular and most used digital currencies...
“Just in Time” CSS
10.9.2021
I believe acss.io is the first usage of “Atomic CSS” where the point of it is to be a compiler. You write CSS like this:
<div class="C(#fff) P(20px)"text
</div
And it will generate CSS like:
.C\(\#333\) {
color: #333;
…
The post “Just in Time” CSS appeared...
Fun Times Styling Checkbox States
10.9.2021
We might leave a text input unstyled. We might leave a link unstyled. Even a button. But checkboxes… we don’t leave them alone. That’s why styling checkboxes never gets old.
Although designing checkboxes is not that complicated, we also don’t …
The post Fun Times Styling Checkbox States...
EyeDropper API Dropped
10.9.2021
I had no idea this was coming but it’s pretty neat! Chrome has shipped the EyeDropper API in v95 (Canary, as I write).
???? Loving the new `EyeDropper` Web API:
“`jsawait new EyeDropper().open();// Returns the picked color, e.g.,
…
The post EyeDropper API Dropped appeared...