Search

Nalezeno "Op Ed Article": 3097

EyeDropper API Dropped


I had no idea this was coming but it’s pretty neat! Chrome has shipped the EyeDropper API in v95 (Canary, as I write). ???? Loving the new `EyeDropper` Web API: “`jsawait new EyeDropper().open();// Returns the picked color, e.g., … The post EyeDropper API Dropped appeared...

Aussie Banks Reject Crypto Industry’s 'Bullying' Allegations


target="_blank" rel="noopener noreferrer" href="https://www.reuters.com/article/australia-banks-inquiry/update-1-australian-banks-reject-pressure-to-deal-with-cryptocurrency-firms-idUSL1N2QB06Z">reported by Reuters. McEwan claims the bank does not have a policy of debanking crypto-r

Frameworks Helping Image Usage


I recently blogged about how images are hard and it ended up being a big ol’ checklist of things that you could/should think about and implement when placing images on websites. I think it’s encouraging to see frameworks — these … The post Frameworks Helping Image Usage appeared...

Mars Theme: A Deep Look at Frontity’s Headless WordPress Theme


Frontity is a framework for creating de-coupled (or "headless") WordPress sites. In this article, we dive into the process of spinning up such a site, with a detailed overview of the building blocks provided by Frontity and its flagship theme, Mars. The post Mars Theme: A Deep Look at Frontity’s...

Don’t attach tooltips to document.body


Here’s Atif Afzal on using a <div> that is permanently on the page where tooltips are added/removed and how they perform vastly better than plopping those same tooltips right into the <body>. It’s not really discussed, but the reason … The post Don’t attach...

The Story Behind TryShape, a Showcase for the CSS clip-path property


I love shapes, especially colorful ones! Shapes on websites are in the same category of helpfulness as background colors, images, banners, section separators, artwork, and many more: they can help us understand context and inform our actions through affordances. A … The post The Story Behind...

Firefox’s `bolder` Default is a Problem for Variable Fonts


Variable fonts make it easy to create a large set of font styles from a single font file. Unfortunately, the default rendering of the <b> and <strong> elements in browsers today is not very compatible with the wide range of … The post Firefox’s `bolder` Default is a Problem...

Early Days for CSS Scoping


There is a working draft spec for CSS scoping now, a newsworthy event for the W3C. Other than a weird period where <style scoped shipped and then was subsequently removed from the spec (and browsers), this is the furthest a … The post Early Days for CSS Scoping appeared first...

Links on Performance IV


HTTP Caching is a Superpower — Hugh Haworth covers how the Cache-Control header is an awfully potent ingredient in web performance. I mis-read the title at first and was waiting to read about HTML caching. Hugh covers it a bit … The post Links on Performance IV appeared first...

You don’t need external assets in an HTML file


A fun exercise from Terence Eden. You can send an HTML file over the wire including anything a website might need without requesting any other files. CSS and JavaScript are easy, because there are <script and <style tags. Images and … The post You don’t need external assets...

Accessing Your Data With Netlify Functions and React


(This is a sponsored post.) Static site generators are popular for their speed, security, and user experience. However, sometimes your application needs data that is not available when the site is built. React is a library for building user … The post Accessing Your Data With Netlify...

Some Typography Links VII


All-things-typography, from a hard-edged monospaced variable font to fonts in the "Twilight Zone" ... and much, much more. The post Some Typography Links VII appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter

Application-Specific Links


You know like https:? That’s a URL Scheme. You’re probably familiar with the concept, thanks to others that come up in front-end development, like mailto:. You can actually make your own, which is pretty cool. There … The post Application-Specific Links appeared first...

Exploring the CSS Paint API: Blob Animation


After the fragmentation effect, I am going to tackle another interesting animation: the blob! We all agree that such effect is hard to achieve with CSS, so we generally reach for SVG to make those gooey shapes. But … The post Exploring the CSS Paint API: Blob Animation appeared first...

The Fixed Background Attachment Hack


What options do you have if you want the body background in a fixed position where it stays put on scroll? background-attachment: fixed in CSS, at best, does not work well in mobile browsers, and at worst is not even … The post The Fixed Background Attachment Hack appeared first...

Developers and Designers Work on a Single Source of Truth with UXPin


(This is a sponsored post.) There is a conversation that has been percolating for as long as I’ve been in the web design and development industry. It’s centered around the conflict between design tools and development tools. The final … The post Developers and Designers Work on...

Designing for the Unexpected


When I think about what front-end development really is and feels like, this is at the heart of it: designing around a huge set of unknowns, and really embracing that notion as a strength of the web rather … The post Designing for the Unexpected appeared first on CSS-Tricks. You can support...

Some Articles About Accessibility I’ve Saved Recently III


The perfect link — Rian Rietveld defines them: “When you click on them, they take you somewhere else.” Not much code in here (we’ve got that), just a lot of practical accessibility advice. For example, the alt text … The post Some Articles About Accessibility I’ve Saved...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace