How to Use the Web Share API — This API provides a way to trigger the native share dialog of a device when sharing content, such as a link, directly from a website or web app. It's mostly focused on mobile use cases so far but the latest Safari build supports it too.
Ayooluwa Isaiah
|
Image & Video Management Made for Front-End Developers — Simplify and automate the process of uploading, manipulating, optimizing, and delivering images and videos across every device at any bandwidth. Try Cloudinary. See how easy media management can be. Get your own free account today.
Cloudinary sponsor
|
The Concept of 'Micro Frontends' — A look at a pattern aroundo splitging up your large, complex, frontend codebases into simple, composable, independently deliverable apps that integrate together.
Cam Jackson (ThoughtWorks)
|
Styling in Modern Web Apps — A dive into the different ways of organizing styling in modern apps, which often have complex interfaces and design patterns.
Ajay NS
|
📘 News, Tutorials & Opinion
|
▶ Hello Subgrid — Rachel Andrew, member of the CSS Working Group, introduces Subgrid — with various use cases, example code and thoughts on where we might see Grid going in the future.
Rachel Andrew
|
CSS Grid and IE11 — A look at how a little JavaScript "helped us make peace" with CSS Grid and IE11.
Valentina Versari & Tom Rothe
|
supported by
|
|
Optimizing Google Fonts requests
If you use Google Fonts and know in advance which letters you'll need from a particular typeface (such as if you're rendering a headline or title with an elaborate heading font), there's a technique you can use to significantly reduce load.
Google Fonts lets you specify which letters you need and will only serve those as part of the font. To do this you can append a text= parameter to the end of a font request, like so:
|
<link href="http://bit.ly/1k4Fhr6&text=Frontedcus" rel="stylesheet">
|
In the example above, we've requested all the letters needed to type out 'Frontend Focus'.
Google claims that in some cases this technique can reduce the size of your font file request by up to 90% (in the case above, we've worked out it's a 86% drop from a 9.2KB font to a 1.3KB one) so it's a neat little optimization strategy worth looking into.
This week's tip is sponsored by Percy, the all-in-one visual testing platform. Replace manual QA and catch visual UI bugs before your customers do.
Get started for free.
|
|
🔧 Code, Tools & Resources
|
|
No comments:
Post a Comment