What to Put on a Business Card: 8 Creative Ideas

What to put on a business card? It’s a tricky question. A business card that contains just the right information (and a stellar design) will grab attention and help you stand out. It’s the thing that makes someone else remember you, or your pitch. Even in a digital age, a business card is a popular–and […]
Read more

Plugin Review: Theme Support for Gutenberg

As Gutenberg nears a merge with WordPress, Theme Authors are running out of time to ensure that their themes are compatible. The Gutenberg handbook has an excellent article on how to opt-in and add support for enhanced features. Most themes will present the default blocks without any issues as the (more…)
Read more

The peculiar magic of flexbox and auto margins

In front-end development, there are often times when I know that I don’t know something. I might know enough to know what CSS to search for, but I have absolutely no idea how to use it or what the right syntax is. Somehow, in my head, there appears to be a filing cabinet that’s entirely empty, and when I try to look something up, all I find is an almost illegible sticky note instead.

One topic like this (which is …

The post The peculiar magic of flexbox and auto margins appeared first on CSS-Tricks.

Read more

Stuff you can do with CSS pointer events

Martijn Cuppens (the same fella with the very weird div!) has some more irresistible CSS trickery. Three of the examples are about making a child element trigger an event on a parent element (almost like the magic that is :focus-within).

Here’s how I reasoned it out to myself:

  1. You know how if you display: hidden; an element, even if you display: block; a child, it doesn’t matter — it’s hidden because its parent is hidden.
  2. The same is

The post Stuff you can do with CSS pointer events appeared first on CSS-Tricks.

Read more

WordPress Tricks for Working with Records and Pages

WordPress is the most popular content management system, powering over 30 percent of the web. Over time WordPress has transformed from a simple blog to a flexible CMS which enables web users to create any type of website. Users have used WordPress to create digital experiences for ecommerce sites, personal blogs, and enterprise websites. Because …
The post WordPress Tricks for Working with Records and Pages appeared first on Torque.
Read more

Sometimes `sizes` is quite important.

Paraphrased question from email:

I just read your article Responsive Images: If you’re just changing resolutions, use srcset. In the age of “responsive websites,” srcset does not help in certain situations. For example, I have a popular products slider. On mobile, I have one image per slide where the images are 320px wide. On desktop, I have six images per slide where each is 160px wide. So the desktop images are smaller on desktop, not bigger.

How do I …

The post Sometimes `sizes` is quite important. appeared first on CSS-Tricks.

Read more

40+ Best Infographic Templates (Word, PowerPoint & Illustrator)

An infographic can give you a way to represent information in a graphic format, designed to make it more understandable, relatable, and engaging. But they can be tricky to make! We’ve gathered together a collection of stunning infographic templates, to get you started quickly (whether you’re using Word, PowerPoint, or Illustrator!) Infographics usually require icons, […]
Read more