Delicious

Delicious

10513 bookmarks
Custom sorting
OMG, SVG Favicons FTW!
OMG, SVG Favicons FTW!
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.
·austingil.com·
OMG, SVG Favicons FTW!
restore table from .frm and .ibd file?
restore table from .frm and .ibd file?
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...
·dba.stackexchange.com·
restore table from .frm and .ibd file?
Component-Specific Design Tokens
Component-Specific Design Tokens
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,...
·cloudfour.com·
Component-Specific Design Tokens
Akar Icons
Akar Icons
A perfectly rounded icon library made for designers, developers, and pretty much everyone.
·akaricons.com·
Akar Icons
The gap problem | Chase McCoy
The gap problem | Chase McCoy
Exploring techniques and trade offs for creating reusable grid components using modern CSS best practices.
·chasem.co·
The gap problem | Chase McCoy
When CSS Isn’t Enough: JavaScript Requirements For Accessible Components
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.
·smashingmagazine.com·
When CSS Isn’t Enough: JavaScript Requirements For Accessible Components
Get Excerpt from an Advanced Custom Field ACF
Get Excerpt from an Advanced Custom Field ACF
Place in your functions file: // Custom Excerpt function for Advanced Custom Fields function custom_field_excerpt() { global $post; $text = get_field('your_field_name'); //Replace 'your_field_name' if ( '' != $text ) { $text = strip_shortcodes( $text ); $text = apply_filters('the_content', $text); $text = str_replace(']]>', ']]>', $text); $excerpt_length = 20; // 20 words $excerpt_more = apply_filters('excerpt_more', ' ' […]
·wpmunchies.com·
Get Excerpt from an Advanced Custom Field ACF
Query posts based on radio button field - ACF Support
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 […]
·support.advancedcustomfields.com·
Query posts based on radio button field - ACF Support
Equal Columns With Flexbox: It’s More Complicated Than You Might Think | CSS-Tricks
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.
·css-tricks.com·
Equal Columns With Flexbox: It’s More Complicated Than You Might Think | CSS-Tricks
Disabling a link | scottohara.me
Disabling a link | scottohara.me
With HTML alone there is no way to disable a hyperlink (an element), and have it be both exposed as a “link” and as “disabled”. Now, setting ...
·scottohara.me·
Disabling a link | scottohara.me
Add post classes for custom taxonomies to custom post type?
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
·wordpress.stackexchange.com·
Add post classes for custom taxonomies to custom post type?
Scroll-Linked Animations with CSS Scroll-Timeline (CSS Conf Colombia) – Bram.us
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)"
·bram.us·
Scroll-Linked Animations with CSS Scroll-Timeline (CSS Conf Colombia) – Bram.us
Sass parallax example
Sass parallax example
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...
·codepen.io·
Sass parallax example
Headless UI
Headless UI
Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
·headlessui.dev·
Headless UI