WordPress’ Trusted Authors Program: What It Is and How You Can Get Onboard
The post WordPress’ Trusted Authors Program: What It Is and How You Can Get Onboard appeared first on Torque.
If you need an aspect-ratio sized <div> (or any element that can have children), you can do it. Perhaps the cleanest way is a custom-property-sized pseudo-element that pushes the correct minimum height through padding-based-on-width.
But media elements like <img> don’t have children. The <video> tag isn’t self-closing, but when it is supported (almost always), the content of it is replaced with a shadow DOM you don’t control. Besides, these are the only two elements that “size to an external …
The post Aspect Ratio Media Elements and intrinsicsize appeared first on CSS-Tricks.
Here’s how and why the team at GitHub has slowly been deprecating jQuery from their codebase:
We have recently completed a milestone where we were able to drop jQuery as a dependency of the frontend code for GitHub.com. This marks the end of a gradual, years-long transition of increasingly decoupling from jQuery until we were able to completely remove the library. In this post, we will explain a bit of history of how we started depending on jQuery in the …
The post Removing jQuery from GitHub.com frontend appeared first on CSS-Tricks.
Guides, resources and discussions about Semantic HTML are often focused around specific elements, like a heading, or a sectioning element, or a list. It’s not often that we talk specifically about how we can combine HTML elements to increase their effectiveness.
Normally, when we introduce HTML, we talk about how it is used to apply meaning to content in a document, and we do this by using examples like:
…
The post HTML elements, unite! The Voltron-like powers of combining elements. appeared first on CSS-Tricks.
We’ve all seen articles like “The Top 5 Ways To Fix Your Sign Up Flow and Get On With Your Life.” Articles like this aren’t wrong or bad, they are just shallow and a bit junk food-y and BuzzFeed-y. Of course, a designer’s actual job is complicated, nuanced, and difficult. But deep dives into all that are far less common.
Khoi Vinh has been writing about this and points to some heavy self-reflection from Fabricio Teixeira and Caio Braga, publishers …
The post Why Designers Don’t Want to Think When They Read appeared first on CSS-Tricks.
Explore what the world is searching. Enter a search term or a topic.


