Search
Nested Media Queries
9.2.2021
We don’t have “regular” nesting in CSS. Maybe this becomes a thing someday, or something like it. That would be cool, although that pre-spec doesn’t mention anything about media queries. I’d hope we get that right out of the gate …
The post Nested Media Queries...
Some Typography Blog Posts I’ve Bookmarked and Read Lately
4.2.2021
Font-size: An Unexpectedly Complex CSS Property — From Manish Goregaokar in 2017. Of many oddities, I found the one where font: medium monospace renders at 13px where font: medium sans-serif renders at 16px particularly weird.
The good line-height — Since
…
The post Some Typography Blog...
Devs ditching old ‘Ethereum killers’ for DeFi, NFTs and newer chains: Report
4.2.2021
Developers are switching their efforts to DeFi as it takes a larger slice of the crypto market
Styling Web Components
29.1.2021
Nolan Lawson has a little emoji-picker-element that is awfully handy and incredibly easy to use. But considering you’d probably be using it within your own app, it should be style-able so it can incorporated nicely anywhere. How to allow …
The post Styling Web Components appeared first...
Lightweight Form Validation with Alpine.js and Iodine.js
20.1.2021
Many users these days expect instant feedback in form validation. How do you achieve this level of interactivity when you’re building a small static site or a server-rendered Rails or Laravel app? Alpine.js and Iodine.js are two minimal JavaScript …
The post Lightweight Form Validation with...
Custom Styles in GitHub Readme Files
23.12.2020
Even though GitHub Readme files (typically ./readme.md) are Markdown, and although Markdown supports HTML, you can’t put <style> or <script> tags init. (Well, you can, they just get stripped.) So you can’t apply custom styles there. Or can you?
You can use SVG as...
Continuous Performance Analysis with Lighthouse CI and GitHub Actions
23.12.2020
Lighthouse is a free and open-source tool for assessing your website’s performance, accessibility, progressive web app metrics, SEO, and more. The easiest way to use it is through the Chrome DevTools panel. Once you open the DevTools, you will see a “Lighthouse” tab. Clicking the “Generate report”...
I learned to love the Same-Origin Policy
17.12.2020
I spent a good chunk of my work life this year trying (in collaboration with the amazing Noam Rosenthal) to standardize a new web platform feature: a way to modify the intrinsic size and resolution of images. And hey! We did it! But boy, was it ever a learning experience.
This wasn’t my first...
How to Use the Locomotive Scroll for all Kinds of Scrolling Effects
16.12.2020
I was recently looking for a way to perform scrolling effects on a project and I stumbled on the Locomotive Scroll library. It lets you perform a variety of scrolling effects, like parallax and triggering/controlling animations at scroll points.
You might also call it a “smooth scrolling” library...
Netlify & Next.js
14.12.2020
Cassidy Williams has been doing a Blogvent (blogging every day for a month) over on the Netlify Blog. A lot of the blog posts are about Next.js. There is a lot to like about Next.js. I just pulled one of Cassidy’s starters for fun. It’s very nice that it has React Fast-Refresh built-in....
MDN on GitHub
14.12.2020
Looks like all the content of MDN is on GitHub now. That’s pretty rad. That’s been the public plan for a while. Chris Mills:
We will be using GitHub’s contribution tools and features, essentially moving MDN from a Wiki model to a pull request (PR) model. This is so much better...
A Microsite Showcasing Coding Fonts
1.12.2020
We made one! It’s open source if you want to make it better or fix things.
There are quite a few purpose-built fonts for writing code. The point of this site is to show you some of the nicest options so you can be aware of them and perhaps pick one out to try that suites your taste.
We used...
Super Tiny Icons
30.11.2020
A bunch of SVG icons (of popular things) all under 1KB. SVG is awesome for golfing.
I was going to add a CodePen logo but there is already one in there at 375 Bytes. I’ve got one at 208 Bytes, based on a logo update David DeSandro did for us a couple years back.
Direct Link to Article...
DRY-ing up styled-components
23.11.2020
I like working with styled-components. They allow you write CSS in your JavaScript, keeping your CSS in very close proximity to your JavaScript for a single component. As a front-end developer who loves to dissect a web page and break it down into reusable components, the idea of styled-components...
[článek] GitHub vrátil youtube-dl, Google chce s Google Pay kralovat financím a Instagram spouští Guides
22.11.2020
[10 minut čtení] E-maily ničí planetu, chybí svobodný a open source vyhledávač, Douglas je skoro člověk, Roblox je plný vulgarit, Twitter spustil fleets. Co dalšího přinesl uplynulý týden? Apple od 1. ledna sníží svou provizi z transakcí v App Store na 15 %. Bude to platit pro všechny vývojáře...
[článek] Nejčastější heslo je 123456, youtube-dl se vrací na GitHub, Huawei prodalo Honor
20.11.2020
[4 minuty čtení] SUSE se chystá na burzu. Microsoft vydává čip Pluton. Qualcomm smí dodávat Huawei, ale jen 4G. Zprávy z IT, každý pátek na Lupě. Vždy v pátek připravuje reportér Jan Sedlák výběr zajímavých zpráv ze světa IT. Co se událo v tomto týdnu?
GitHub opět vystavil kódy youtube-dl. I pirátský prográmek má právo na život
18.11.2020
Před pár týdny zažila komunita na GitHubu drobnou revoltu okolo repozitáře youtube-dl. Americká asociace hudebního průmyslu RIAA tehdy skladiště zdrojového kódu požádala, ať celý projekt smaže. Důvod? Jedná se o nástroj ke stahování videí a hudebních stop z YouTube.
GitHub vyšel přání předběžně
Upptime
18.11.2020
GitHub Actions are like free computers.
Well, there is pricing, but even free plans get 2,000 minutes a month. You write configuration files for what you want these computers to do. Those configuration files go into a repo, so typically they do things specific to that repo. I’m sure that...
This page is a truly naked, brutalist html quine.
4.11.2020
Here’s a fun page coming from secretGeek.net. You don’t normally think “fun” with brutalist minimalism but the CSS trickery that makes it work on this page is certainly that.
The HTML is literally displayed on the page as tags. So, in a sense, the HTML is both the page...
How to Automate Project Versioning and Releases with Continuous Deployment
2.11.2020
Having a semantically versioned software will help you easily maintain and communicate changes in your software. Doing this is not easy. Even after manually merging the PR, tagging the commit, and pushing the release, you still have to write release notes. There are a lot of different steps,...