Search
'Buy Bitcoin, plant a tree, lower your time preference': a Sequoia story
16.6.2022
“I'm trying to get people to plant trees," says Fangorn, a green-fingered Bitcoiner, "as an avenue for low-time preference.”
Má na naše chuťové preference vliv genetika?
20.4.2022
Mezi smysly zaujímá chuť zvláštní postavení – ačkoli spolu s čichem patří mezi ty nejvíce postradatelné, vnímáme ji jako velmi podstatnou součást života. Do jaké míry ji ovlivňuje naše genetické nastavení?
Detect Dark Mode Preference with JavaScript
21.2.2022
Seemingly every website, dapp, and app offers a dark mode preference, and thank goodness. Dark mode is especially useful when I’m doing late night coding, or even worse, trading into altcoins. I’m presently working on implementing a dark theme on MetaMask and it got me to thinking:...
Notes on Reverse-Scrolling Columns With CSS Scroll-Timeline
31.1.2022
Lemme do this one quick-hits style:
Mary Lou published a quintessentially-Codrops-y demo called Alternate Column Scroll.
The scrolling effect is powered by Locomotive Scroll, which we’ve coincidentally covered before.
Bramus has been exploring native CSS scrolling effects
…
Notes...
Detecting Media Query Support in CSS and JavaScript
23.8.2021
You can’t just do @media (prefers-reduced-data: no-preference) alone because, as Kilian Valkhof says:
[…] that would be false if either there was no support (since the browser wouldn’t understand the media query) or if it was supported but the
…
The post...
Collective #673
5.8.2021
How To Build Resilient JavaScript UIs * Apollo * User preference media features client hints headers
The post Collective #673 appeared first on Codrops
How to Upload a File via SSH and Command Line
28.6.2021
My preference for daily work is usually GUI applications, like Visual Studio Code for text editing and Cyberduck for remote file server management. I’m also a huge fan of automation, so I do try to learn the command line equivalents of UI functions. My latest desire was wanting to know how...
Responsible, Conditional Loading
25.12.2020
Over on the Polyplane blog (there’s no byline but presumably it’s Kilian Valkhof), there is a great article, Creating websites with prefers-reduced-data, about the prefers-reduced-data media query. No browser support yet, but eventually you can use it in CSS to make choices that reduce...
Creating websites with prefers-reduced-data
8.12.2020
Spoiler alert: There is no support for it yet. But it is defined in the Media Queries Level 5 spec that includes other recent, but more familiar user preference features, like prefers-color-scheme and prefers-reduced-motion.
The Polypane blog goes into incredible depth on prefers-reduced-data...
JP Morgan Sees Millennials’ Bitcoin Preference Over Gold as Foundation for Its Long Term Success
25.10.2020
JP Morgan says bitcoin’s 2020 surge is set to continue as the digital cryptocurrency competes better against gold as an alternative currency. In a note, the financial institution says that with millennials set to become a more important market participant in the coming years, their preference...
Working with JavaScript Media Queries
7.9.2020
What’s the first thing that comes to mind when you think of media queries? Maybe something in a CSS file that looks like this:
body {
background-color: plum;
}
@media (min-width: 768px) {
body {
background-color: tomato;
}
}
CSS media queries are a core ingredient in any responsive...
Two Browsers Walked Into a Scrollbar
18.9.2019
Surprise: scrollbars are complicated, especially cross-browser and cross-platform.
Sometimes they take up space and sometimes they don't. Sometimes that is affected by a setting and sometimes it isn't. Sometimes you can see them and sometimes you can't unless you're actually scrolling. Styling...
CSS prefers-reduced-motion Media Query
30.7.2019
When I started in the web development industry, media queries were limited — screen and print were the two media queries I was most often using. More than a decade later, media queries have advanced to various screen units, feature checking, and even color scheme preference. I’ve been...
Intimita v tváři: Z obličeje většiny lidí lze vyčíst jejich sexuální preference
15.12.2018
Intimita v tváři: Z obličeje většiny lidí lze vyčíst jejich sexuální preference