This article explores the fun new world of SVG favicons. We cover adding them to HTML, using emojis, inlining them as data URIs, and supporting dark mode.
Using Expose by BeyondCode for WordPress development // Slava Abakumov
When working with a local site and trying to share it via a public URL or receive a webhook - you need to publish the site. Let's use Expose tool for WordPress development.
New UX Research Study on Native Mobile Apps (incl. app usage rates) – Articles – Baymard Institute
Our extensive native mobile app usability testing verified that 98% of product-finding guidelines for mobile websites also apply to native mobile apps.
I have previously saved a copy of /var/lib/mysql/ddms directory ("ddms" is the schema name). Now I installed a new MySQL on a freshly installed Ubuntu 10.04.3 LTS by running apt-get install mysql-s...
In a recent project, I helped implement design tokens in an established design system. One of the more challenging parts of this work was updating the components to use design tokens. I learned a couple of things that might help speed up the process for others. Before we talk about using design tokens with components,...
Change wp_get_attachment_image attributes (src and srcset) on specific custom field
I'm using ACF to output images in an image carousel called Flickity. Flickity supports image srcset with lazy loading.
Here's my basic ACF markup which uses wp_get_attachment_image:
<?php
$...
When CSS Isn’t Enough: JavaScript Requirements For Accessible Components
Spoiler alert: tooltips, modals, tabs, carousels, and dropdown menus are some of the user interface components that require more than CSS. To ensure accessibility of your interface, JavaScript is a necessary addition to accomplish focus management, respond to keyboard events, and toggle ARIA attributes.
In this tutorial, you will find several jQuery methods that are used for testing whether the checkbox is checked based on the different versions you use.
Query posts based on radio button field - ACF Support
On my posts page I have a selection of radio button options. I'm using them similar to how 'Categories' would work usually. I was wondering if it was possible for me to query a page of posts depending on which radio button was selected? For example, when I create a new post I have to […]
Useful Front-End Boilerplates And Starter Kits — Smashing Magazine
We don’t need to write everything from scratch every single time. With boilerplates and starter kits, we can set up our projects faster, and get to work immediately.
Equal Columns With Flexbox: It’s More Complicated Than You Might Think | CSS-Tricks
As awesome as flexbox is, what it’s doing under the hood is actually a little strange because, by default, it is doing two things at once. It first looks at the content size which is what we would get if by declaring width: max-content on an element. But on top of that, flex-shrink is also doing some work allowing the items to be smaller, but only if needed. Let’s break those two down and see how they work together.
Add post classes for custom taxonomies to custom post type?
I was surprised to learn that custom taxonomies aren't added as body or post classes like categories and tags are.
I'm sure this will be added in a future version of WordPress, but in the meantime I
Scroll-Linked Animations with CSS Scroll-Timeline (CSS Conf Colombia) – Bram.us
I just finished giving a lightning talk at the wonderful CSS Conf Colombia covering Scroll-Linked Animations with CSS @scroll-timeline. Really enjoyed giving a talk again after all this time, especially with this great vibe they have going on and the afterparty in gather.town (skribbl FTW!). You can find the slides embedded below: Source materials for … Continue reading "Scroll-Linked Animations with CSS Scroll-Timeline (CSS Conf Colombia)"
By locking the perspective on the body element and transforming elements in 3D on top of that, you can easily create parallax scrolling effects that do...
My web performance journey with Nuxt, Storyblok & Netlify - Dawntraoz
In this post I will show you the main web performance concerns I had while building my website and how a Jamstack architecture will help us solve them.
Don't use image carousels! Read this article to know about your image slider alternatives and how to use carousels the right way if you have no other choice.