Fighting FOIT and FOUT Together

Lots from Divya with the setup:

There are 2 kinds of problems that can arise when using webfonts; Flash of invisible text (FOIT) and Flash of Unstyled Text (FOUT) … If we were to compare them, FOUT is of course the lesser of the two evils

If you wanna fight FOIT, the easiest tool is the font-display CSS property. I like the optional value because I generally dislike the look of fonts swapping.

If you want to fight …

The post Fighting FOIT and FOUT Together appeared first on CSS-Tricks.

Read more

Google Fonts and font-display

The font-display descriptor in @font-face blocks is really great. It goes a long way, all by itself, for improving the perceived performance of web font loading. Loading web fonts is tricky stuff and having a tool like this that works as well as it does is a big deal for the web.

It’s such a big deal that Google’s own Pagespeed Insights / Lighthouse will ding you for not using it. A cruel irony, as their own Google Fonts (easily …

The post Google Fonts and font-display appeared first on CSS-Tricks.

Read more

Background Design Trends & Styles for 2019

One of the most important early design decisions you will make is what kind of background will carry a project. Should it be a single color, colorless, use trendy elements such as geometric shapes, gradients or wood grain patterns? Or would a solid background design can help make a project shine? Staying on trend with […]
Read more

Primary SEO Factors in WordPress Theme Development

There is always a lot of buzz around the SEO-friendliness of the WordPress themes. Many people in the community are putting effort into making WordPress websites the most easily searched around. WordPress powers over 30 percent of the web, and that number could grow if every user focuses on SEO. If you are new to …
The post Primary SEO Factors in WordPress Theme Development appeared first on Torque.
Read more

Ease-y Breezy: A Primer on Easing Functions

During the past few months, I’ve been actively teaching myself how to draw and animate SVG shapes. I’ve been using CSS transitions, as well as tools like D3.js, react-motion and GSAP, to create my animations.

One thing about animations in general and the documentation these and other animation tools recommend is using easing functions. I’ve been working with them in some capacity over the years, but to be honest, I would never know which function to choose …

The post Ease-y Breezy: A Primer on Easing Functions appeared first on CSS-Tricks.

Read more

How to Worry About npm Package Weight

It’s all too easy to go crazy with the imports and end up with megabytes upon megabytes of JavaScript. It can be a problem as that weight burdens each and every visitor from our site, very possibly delaying or stopping them from doing what they came to do on the site. Bad for them, worse for you.

There is all sorts of ways to keep an eye on it.

You could have a peak on Bundlephobia

Bundlephobia will give you …

The post How to Worry About npm Package Weight appeared first on CSS-Tricks.

Read more

30+ Best Minimal PowerPoint Templates 2019

Delivering a minimalist PowerPoint presentation can clearly convey your message, and remove any clutter. This collection of modern, minimal PowerPoint templates is a great place to start—they put the focus on you as the speaker, and what you have to convey! These files are all fully editable and can be easily tweaked according to your […]
Read more

50+ Best Photoshop Actions of 2019

Adobe Photoshop Actions are a great feature of the app, allowing you to create a process or workflow, record how it worked, and then easily repeat the process again for other photographs or design elements. Today we’ve collected some of the best Photoshop actions out there, for photographers and graphic designers alike. They cost just […]
Read more

Nobody is quite wrong.

There are two opposing views on using non-polyfillable new web features that I find are both equally common in our industry:

  1. Websites don’t need to look the same in every browser. The concept of progressive enhancement helps with that. There are tools, even native language features, that help with this.
  2. If browser support isn’t where I want it to be, it’s just exotic eye candy for demos and not to be used.

I’m not sure I’d say either one of …

The post Nobody is quite wrong. appeared first on CSS-Tricks.

Read more