Torque Toons: Our 5th Birthday!

The big 5.0 is here! No, not WordPress 5.0… It’s our fifth year of publishing Torque Magazine. Thanks for 5 years of support! Don’t forget to check out our other editorial toons!
The post Torque Toons: Our 5th Birthday! appeared first on Torque.
Read more

Who Is Going to Win the Gutenberg Arms Race?

2018 has been dominated by the Gutenberg editor – WordPress’ attempt to overhaul the user’s writing experience. This (of course) brings change to the platform. Consequently, developers are just beginning to embark on an ‘arms race’ to see who will get the upper hand with early adopters. This may seem like an inconsequential battle to …
The post Who Is Going to Win the Gutenberg Arms Race? appeared first on Torque.
Read more

On xlink:href being deprecated in SVG

A reader wrote in to tell me we should update our articles about SVG <use> elements. The attribute we always use for them, xlink:href, is deprecated. Indeed, MDN says:

That’s pretty strong language, hence the reader’s warning. This is a bit surprising to me, as the SVG 2 thing got a little weird. It looks like it did become a Candidate Recommendation though.

So…

<!-- This is old -->
<svg>
<use xlink:href="#whatever" />
</svg>

<!– This …

The post On xlink:href being deprecated in SVG appeared first on CSS-Tricks.

Read more

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