Search
Can you nest @media and @support queries?
5.8.2019
Yes, you can, and it doesn't really matter in what order. A CSS preprocessor is not required. It works in regular CSS.
This works:
@supports(--a: b) {
@media (min-width: 1px) {
body {
background: red;
}
}
}
And so does this, the reverse nesting of the above:
@media (min-width:...
then on Objects
5.8.2019
Promises were a revelation in JavaScript development, allowing us to enjoy async processing and avoid callback hell. Many new APIs like Battery API, Cache API, and others use the promise API. One fact you may not know is that you can add a then method to any object to make it Promise-like!...
Lukáš Burda (Global Brand Manager, Footshop): About You a Zalando pokřivily trh. Influencerství je v ČR přeceňované a předražené
5.8.2019
Lukáš Burda nastoupil na pozici global brand managera Footshopu v lednu letošního roku. Na konferenci Eshopista s tématem budování značky v e-commerce jsme si s ním povídali o brandingových a marketingových aktivitách Footshopu, rozdílech mezi jednotlivými zeměmi, kde e-shop působí, ale také...
“Slap Yourself If You Sold Bitcoin Below $10,000”, Says Binance Co-Founder
4.8.2019
Bitcoin is back to the higher side of $10,000, which has collapsed the economic arguments against crypto. Those who took no time to criticize the market as soon as the prices came downwards of the $10K mark, will have got an indirect reply from Binance chief Changpeng Zhao. CZ tweeted on Friday...
Crypto Social Media is Breaking Free: How 10+ Blockchain Platforms Pay You to Post
4.8.2019
Social media has become so embedded in most people’s everyday lives that it’s hard to imagine life — or even a span of a few hours — without it. While the social media revolution is huge, there’s another revolution within that revolution, driven by users into...
Nexo Launches a Debit Card That Lets You Not Spend Your Crypto
2.8.2019
Arrington XRP Capital-backed financial startup Nexo unveiled a crypto card that lets users “spend the value of their crypto without actually spending it."
Using Netlify Forms and Netlify Functions to Build an Email Sign-Up Widget
2.8.2019
Building and maintaining your own website is a great idea. Not only do you own your platform, but you get to experiment with web technologies along the way. Recently, I dug into a concept called serverless functions, starting with my own website. I’d like to share the results and what I learned...
Weekly Platform News: Preventing Image Loads with the Picture Element, the Web We Want, Svg Styles Are Not Scoped
1.8.2019
In this week's week roundup of browser news, a trick for loading images conditionally using the picture element, your chance to tell bowser vendors about the web you want, and the styles applied to inline SVG elements are, well, not scoped only to that SVG.
Let's turn to...
You Can Now Tip On Twitter with Brave’s Basic Attention Token
1.8.2019
Tweeters can tip content using Brave’s Basic Attention Token, adding to its micro-tipping services
Making a Realistic Glass Effect with SVG
1.8.2019
I’m in love with SVG. Sure, the code can look dense and difficult at first, but you’ll see the beauty in the results when you get to know it. The bonus is that those results are in code, so it can be hooked up to a CMS. Your designers can rest easy knowing they don't have to reproduce an effect...
Register Now for An Event Apart 2019 in Chicago
1.8.2019
(This is a sponsored post.)
An Event Apart juuuuust wrapped up its Washington D.C. event yesterday. We hope we got to see you at the event but if not, perhaps we'll see you at the next one happening Aug. 28-28 in Chicago.
Why would you go, you might ask? It's three days of experts imparting their...
Fetching Data in React using React Async
1.8.2019
You’re probably used to fetching data in React using axios or fetch. The usual method of handling data fetching is to:
Make the API call.
Update state using the response if all goes as planned.
Or, in cases where errors are encountered, an error message is displayed to the user.
There will always...
Litecoin Is ‘Halving’ Soon: What’s Happening and What You Should Know
31.7.2019
A rule embedded within litecoin’s (LTC) code is set to soon reduce rewards for the miners. Here's what traders and investors should know
A More Accessible Portals Demo
31.7.2019
The point of the <portal> element (behind a flag in Chrome Canary) is that you can preload another whole page (like <iframe>), but then have APIs to animate it to the current page. So "Single Page App"-like functionality (SPA), but natively. I think that's pretty cool. I'm a fan...
US Senator: ‘I Don’t Think You’ve Persuaded Anyone’ Crypto Creates Financial Inclusion
30.7.2019
Sen. Brian Schatz (D.-HI) questioned the claim that blockchain spurs financial inclusion at Tuesday's Banking Committee hearing
When Cash Is Banned, Centralized Cryptos Are Not Going to Save You
30.7.2019
Australia is now moving forward with its proposed legislation to ban cash purchases over 10,000 AUD ($6,900) for business purposes. According to the treasury website: “The Black Economy Taskforce recommended this action to tackle tax evasion and other criminal activities.” While many...
Creating Dynamic Routes in a Nuxt Application
30.7.2019
In this post, we’ll be using an ecommerce store demo I built and deployed to Netlify to show how we can make dynamic routes for incoming data. It’s a fairly common use-case: you get data from an API, and you either don’t know exactly what that data might be, there’s a lot of it, or it might change....
The Simplest Way to Load CSS Asynchronously
30.7.2019
Scott Jehl:
One of the most impactful things we can do to improve page performance and resilience is to load CSS in a way that does not delay page rendering. That’s because by default, browsers will load external CSS synchronously—halting all page rendering while the CSS is downloaded...
Run useEffect Only Once
30.7.2019
React has a built-in hook called useEffect. Hooks are used in function components. The Class component comparison to useEffect are the methods componentDidMount, componentDidUpdate, and componentWillUnmount.
useEffect will run when the component renders, which might be more times than you think....
Getting design system customization just right
29.7.2019
I had a little rant in me a few months ago about design systems: "Who Are Design Systems For?" My main point was that there are so many public and open source ones out there that choosing one can feel like choosing new furniture for your house. You just measure up what you need and what you like...