Don’t Use The Placeholder Attribute

Eric Bailey takes a hardline position on <input placeholder>.

You might be thinking, as I did: yeah, yeah I know the pitfalls. I’m capable of using placeholder responsibly. But when you look at all the negatives together:

  • Can’t be automatically translated;
  • Is oftentimes used in place of a label, locking out assistive technology;
  • Can hide important information when content is entered;
  • Can be too light-colored to be legible;
  • Has limited styling options;
  • May look like pre-filled information and be

The post Don’t Use The Placeholder Attribute appeared first on CSS-Tricks.

Read more

7 Steps to Start Your Online Business

Thanks to the wonders of the Internet, anyone can become an entrepreneur with a WordPress site. In fact, following the recession that began 10 years ago, entrepreneurial activity has picked up rapidly. There are numerous benefits to starting your business online — one of the major ones being a low startup cost. Many digital startup …
The post 7 Steps to Start Your Online Business appeared first on Torque.
Read more

Balancing Time

I first wrote this post four years ago. I put it on a blog that no longer exists. Funnily enough, I still refer to it myself, so I figured it might be best served in a place where other people can see it. I’ve made only a few minor tweaks to the original content. A lot about how I work has changed, but most of these pieces have not.


I work on many personal projects concurrently. I love doing this, …

The post Balancing Time appeared first on CSS-Tricks.

Read more

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