Advanced Document Conversions with Filestack

You might know Filestack from being an incredible service to add file uploading, storage, and management to your own web apps.

There is another thing Filestack can do for you: convert documents into different formats.

For one thing, it can manipulate documents. Take images. Perhaps you would like to offer some image manipulation for your users uploaded images, like cropping and rotation. That’s a common feature for apps that offer avatar uploading. With Filestack, you got it.

It’s great …

The post Advanced Document Conversions with Filestack appeared first on CSS-Tricks.

Read more

100+ MacBook Mockup Templates (PSD & Vector)

Whether you’re looking for a MacBook Pro, MacBook Air, or MacBook mockup, we have you covered today. We’re featuring a mix of photo mockup templates, realistic illustrations, and flat/stylised versions of these MacBook notebooks. Totaling over a hundred different MacBook mockups, in all shapes and sizes, these are great for dropping in your own work, […]
Read more

An Almost Ideal React Image Component

Yes, this is a React component, but regardless if you care about that part or not, the “ideal image component” part could be of interest. There is a lot to consider with how we put images on web pages these days. This deals with:

  • Placeholder space (and then flexible responsive styles after loading)
  • Low-quality placeholder images
  • Responsive images syntax (srcset)
  • Image formats (e.g. using WebP when you can)
  • Click-to-load on bad network connections
  • Better UX for loading errors,

The post An Almost Ideal React Image Component appeared first on CSS-Tricks.

Read more

10 Free & Premium Cryptocurrency WordPress Themes: Features to Look For

The demand for the professional cryptocurrency WordPress templates is on the rise. It is unsurprising as the sheer idea of decentralized currency (without a governmental or banking control) is really tempting to many of us worldwide. Although the concept of digital money may look tricky at first, it is gaining popularity impressively fast. So, if you also …
The post 10 Free & Premium Cryptocurrency WordPress Themes: Features to Look For appeared first on Torque.
Read more

Using Custom Fonts With SVG in an Image Tag

When we produce a PNG image, we use an <img> tag or a CSS background, and that’s about it. It is dead simple and guaranteed to work.

PNG is way simpler to use in HTML than SVG

Unfortunately, the same cannot be said for SVG, despite its many advantages. Although you’re spoiled for choices when using SVG in HTML, it really boils down to inline, <object> and <img>, all with serious gotchas and trade-offs.

Problems with inline SVG…

The post Using Custom Fonts With SVG in an Image Tag appeared first on CSS-Tricks.

Read more

What is SVG good for?

Y’all probably wouldn’t be surprised if I told you it’s pretty awesome for icons, and icon systems. SVG icon systems can, and perhaps should be quite easy. I’m a fan of just inlining those suckers, particularly when they are pretty simple.

But what else?

Logos is a classic example! A lot of people dip their toes in this way.

You don’t have to inline the SVG if you don’t want. It could be an <img> or background-image as well.…

The post What is SVG good for? appeared first on CSS-Tricks.

Read more

UTC is Enough for Everyone, Right?

A good candidate for the Blog Post of the Year from Zach Holman. I think Eric Portis’ “w descriptors and sizes: Under the hood” is up there too, but perhaps even nerdier. Ooooh, also Frank Chimero’s “The Good Room” is up there. But I digress.

Zach’s article is as educational as it is funny.

But yeah, this UTC initialism doesn’t make any sense. Let’s dig into this a little more.

So you’ve got a bunch of scientist types around …

The post UTC is Enough for Everyone, Right? appeared first on CSS-Tricks.

Read more

Centering: The Newest Coolest Way vs. The Oldest Coolest Way

This isn’t a comprehensive guide to centering things. We have that!

This is just a little observation about old and new. One of the trickier things related to centering in CSS is when you need to center both vertically and horizontally and you don’t know the width or height of what you are centering. Vertical centering being the extra tricky of the two.

Believe it or not, there was a way to do that even in IE 8. The trick …

The post Centering: The Newest Coolest Way vs. The Oldest Coolest Way appeared first on CSS-Tricks.

Read more