Detecting media query support in CSS and JavaScript | Kilian Valkhof
Recently I needed a way to detect support for a media query in CSS and Javascript. To detect if a browser supports a certain CSS feature, you can use @supports () { ... }, but that doesn’t work for media queries. In this article I’ll show you how you can detect support for media queries […]
Here's a pen with some generative plants and shapes. I kept the paths as simple as possible and then transformed them using SVG filters (feTurbulence a...
Building A Dynamic Header With Intersection Observer — Smashing Magazine
In JavaScript, attaching an event listener to constantly fire a callback on scroll can be performance-intensive. But there is a better way with Intersection Observer.
Remove the Gutenberg Block Library CSS from WordPress - SmartWP
PHP code snippet to remove the "block-library/style.min.css" file from loading on your WordPress site. Useful to disable the Gutenberg block library CSS.
How to Install Apache Mod Expires on Ubuntu 9.10 - BinaryTides
Apache mod expires mod expires is an Apache module that can send additional expiry information about a server file to a browser. If the expiry date is set to a far future date, then the browser will fetch the file from its cache on next request and will not contact the server. This will speed... Read More »
Tools And Practices To Speed Up The Vue.js Development Process — Smashing Magazine
Even though Vue.js claims to have an approachable minimalist framework that can be incrementally adaptable, it can be a little bit overwhelming when starting as a Vue.js newbie. In this article, we’re looking at ways to make writing Vue.js a breeze.
Astro is a brand new framework for building websites. To me, the big thing is that it allows you to build a site like you're using a JavaScript framework
Ever heard of favicons made with SVG? If you are a regular reader of CSS-Tricks, you probably have. But does your website actually use one? The task is
Netlify Custom Domain and WordPress - Support - Netlify Support Forums
Hi @songfarm-david, sorry you’ve been waiting so long for a reply! What I would do in your position is create a subdomain to point to Server A. Since you’ve pointed your domain nameservers to Netlify, that should mean that you’re using Netlify DNS management, which you should find under the Domains tab at the top of your team site list. Add a new record with your chosen subdomain in the Name field (replacing the @). For example, you could enter wp to get the subdomain wp.yourcustomdomain.com. ...
It's easy to create metadata tags with Gridsome, I was so happy with it that I wanted to write this post 😃. There is also a page in the docs on how to create metadata tags, but let's translate the theory into a real world example.
In a new short series of posts, we highlight some of the useful tools and techniques for developers and designers. This time it’s all about CSS Generators: from CSS shadows to easing gradients to CSS overlays to CSS doodles.