Search
Revisiting the Rendering Tier
5.4.2019
Have you ever created a well-intentioned, thoughtful design system only to watch it grow into an ever-increasing and scary codebase? I've been working in sort of the opposite direction, inheriting the scary codebase and trying to create a thoughtful system from it.
Here's Alex Sanders on the topic...
A Couple of New Wufoo Tips
4.4.2019
(This is a sponsored post.)
High fives to Wufoo, our long-time sponsor here on CSS-Tricks. It's powered the vast majority of forms I've built over the past decade. If you've never used it or heard of it: it's a form builder. It makes the arduous task of implementing forms trivially easy. Building...
KV Storage
1.4.2019
localStorage is...
Good! It's an incredibly easy API to use.
localStorage.setItem('name', 'Chris'); let name = localStorage.getItem('name');
Bad! Philip Walton explains why:
localStorage is a synchronous API that blocks the main thread, and any time you access it you potentially prevent your...
[článek] Jan Řežáb, Cyril Höschl (Time is Ltd.): Efektivita a využívání času jsou obrovský problém korporací
29.3.2019
[6 minut čtení] Poskytujeme náhled na to, co se ve firmě děje, vysvětlují princip své služby dva spoluzakladatelé startupu Time is Ltd. Získali na něj investici 3 miliony uer. Nový startup zakladatele Socialbakers Jana Řežába a Cyrila Höschla mladšího v polovině března oznámil první investici...
Breaking CSS Custom Properties out of :root Might Be a Good Idea
27.3.2019
CSS Custom Properties have been a hot topic for a while now, with tons of great articles about them, from great primers on how they work to creative tutorials to do some real magic with them. If you’ve read more than one or two articles on the topic, then I’m sure you’ve noticed that they start...
Buddy: 15 Minutes to Automation Nirvana
26.3.2019
(This is a sponsored post.)
Deploying a website to the server in 2019 requires much more effort than 10 years ago. For example, here's what needs to be done nowadays to deliver a typical JS app:
split the app into chunks
configure webpack bundle
minify .js files
set up staging environment
upload...
Understanding Event Emitters
26.3.2019
Consider, a DOM Event:
const button = document.querySelector("button");
button.addEventListener("click", (event) => /* do something with the event */)
We added a listener to a button click. We’ve subscribed to an event being emitted and we fire a callback when it does. Every time we click that...
Advanced Tooling for Web Components
22.3.2019
Over the course of the last four articles in this five-part series, we’ve taken a broad look at the technologies that make up the Web Components standards. First, we looked at how to create HTML templates that could be consumed at a later time. Second, we dove into creating our own custom element....
Setting Up a Node Project With Typescript
18.3.2019
Node, a run-time environment that makes it possible to write server-side JavaScript, has gained a lot of adoption since its release in 201
See No Evil: Hidden Content and Accessibility
15.3.2019
There is no one true way to hide something on the web. Nor should there be, because hiding is too vague. Are you hiding visually or temporarily (like a user menu), but the content should still be accessible? Are you hiding it from assistive tech on purpose? Are you showing it to assistive tech...
Former Crypto Skeptic Purchases Bitcoin, Tron Leader Calls Bitcoin an Excellent Investment
15.3.2019
Another former Bitcoin skeptic has added his name to the list of “Bitcoin converts.” Thai-based stock market investor Marc Faber revealed in an interview with Cash that he had bought Bitcoins “for the first time 10 days ago” so that […]
The post Former Crypto Skeptic Purchases Bitcoin, Tron...
Privacy Cryptocurrency Grin Votes to Fund Third Full-Time Developer
14.3.2019
The community behind privacy-focused cryptocurrency Grin has recently decided to fund its third full-time developer
Planning for Responsive Images
13.3.2019
The first time I made an image responsive, it was as simple as coding these four lines:
img {
max-width: 100%;
height auto; /* default */
}
Though that worked for me as a developer, it wasn’t the best for the audience. What happens if the the image in the src attribute is heavy? On high-end...
How to Set Commit Author
13.3.2019
I’ve worn dozens of hats on a dozen different teams during my time at Mozilla, but none has been as rewarding and challenging as community management. Whether it’s mentoring students, welcoming new contributors, or reviewing pull requests, there’s always so much to be done....
Řežábova Time is Limited, vyvijející software na zlepšení produktivity firem, získala tři miliony eur
12.3.2019
Firma Time is Limited vyvíjející software na sledování produktivity týmů zakladatele Jana Řežába získala investici tři miliony eur (téměř 80 milionů korun). Investici vedl jeden z předních startupových investorů v Evropě Mike Chalfen s přispěním fondu Accel. Investice má sloužit na další budování...
[aktualita] Řežábova nová softwarová firma Time is Ltd. získává investici tři miliony eur
12.3.2019
Spoluzakladatel Socialbakers Jan Řežáb společně s Cyrilem Höschlem mladším založil novou firmu nazvanou Time is Ltd. Ta si po úvodním testování došla pro první externí investici. Jak informuje TechCrunch, společnost získala seed ve výši tří milionů eur. Peníze vkládá zakladatel Mosaic Ventures Mike...
Downsides of Smooth Scrolling
11.3.2019
Smooth scrolling has gotten a lot easier. If you want it all the time on your page, and you are happy letting the browser deal with the duration for you, it's a single line of CSS:
html {
scroll-behavior: smooth;
}
I tried this on version 17 of this site, and it was the second most-hated thing...
Level up your JavaScript error monitoring
7.3.2019
(This is a sponsored post.)
Automatically detect and diagnose JavaScript errors impacting your users with Bugsnag. Get comprehensive diagnostic reports, know immediately which errors are worth fixing, and debug in a fraction of the time.
Bugsnag detects every single error and prioritizes errors...
Level up your JavaScript error monitoring
7.3.2019
(This is a sponsored post.)
Automatically detect and diagnose JavaScript errors impacting your users with Bugsnag. Get comprehensive diagnostic reports, know immediately which errors are worth fixing, and debug in a fraction of the time.
Bugsnag detects every single error and prioritizes errors...
The Bottleneck of the Web
5.3.2019
Steve Souders, "JavaScript Dominates Browser CPU":
Ten years ago the network was the main bottleneck. Today, the main bottleneck is JavaScript. The amount of JavaScript on pages is growing rapidly (nearly 5x in the last 7 years). In order to keep pages rendering and feeling fast, we need to focus...