Putting the Flexbox Albatross to Real Use

If you hadn’t seen it, Heydon posted a rather clever flexbox layout pattern that, in a sense, mimics what you could do with a container query by forcing an element to stack at a certain container width. I was particularly interested, as I was fighting a little layout situation at the time I saw this and thought it could be a solution. Let’s take a peak.

“Ad Double” Units

I have these little advertising units on the design of this … Read article

The post Putting the Flexbox Albatross to Real Use appeared first on CSS-Tricks.

Read more

How to Monitor User Activity in WordPress

Running a multi-author blog is quite challenging when it comes to WordPress security. Every time users make changes, publish new content, change settings of your site, moderate comments etc. How can you know the behavior of your users? By default, WordPress doesn’t come up with a function that allows you to monitor user activities and …
The post How to Monitor User Activity in WordPress appeared first on Torque.
Read more

Adopting TDD for an Existing Plugin

Test-driven development (TDD) is a philosophy of software development that is based on writing tests before writing a feature or bug fix. This is a big difference in terms of how you think about development. I find it to be very hard to move to TDD, both because it’s a different mental model and because …
The post Adopting TDD for an Existing Plugin appeared first on Torque.
Read more

Using React and XState to Build a Sign In Form

To make a sign in form with good UX requires UI state management, meaning we’d like to minimize the cognitive load to complete it and reduce the number of required user actions while making an intuitive experience. Think about it: even a relatively simple email and password sign in form needs to handle a number of different states, like empty fields, errors, password requirements, loading and success.

Thankfully, state management is what React was made for and I was able … Read article

The post Using React and XState to Build a Sign In Form appeared first on CSS-Tricks.

Read more

Use monday.com to Boost Project Organization and Team Collaboration

(This is a sponsored post.)

Front-end development relies on organization and solid communication. Whether you’re part of a team that builds large-scale sites or you’re flying solo with a handful of quality clients, there are many pieces and steps to get a project from start to finish. And that’s not just limited to the development phase of a project, either. Think about sales proposals, estimates, sign-offs, and approvals among many other things. There’s a lot that goes into even … Read article

The post Use monday.com to Boost Project Organization and Team Collaboration appeared first on CSS-Tricks.

Read more

10 Professional PowerPoint Templates (And How to Use Them)

Let’s face it, not everyone has the time or energy to design a pixel-perfect PowerPoint slideshow for every presentation they make. This is where professional PowerPoint templates can be a live-saver! Whether you’re in charge of designing a slideshow for the weekly team meeting, or a freelancer pitching to clients, designing unique and attractive PowerPoint […]
Read more

Successful WordPress Freelancing

Andy Adams released a book for aspiring WordPress freelancers. It’s meant to take a lot of the guesswork and the roadblocks that many folks often hit when making the decision to fly solo and rely on WordPress development for a stable source of work and income.

Aside from being included in it (and Andy being an all-around great guy), I want to share the book with y’all because WordPress and freelancing are two topics I care deeply about, particularly because … Read article

The post Successful WordPress Freelancing appeared first on CSS-Tricks.

Read more

React 16.6.0 Goodies

React 16.6.0 was released October 2018 and with it came goodies that spice up the way we can develop with React. We’re going to cover what I consider the best of those new goodies with examples of how we can put them to use in our work.

React.memo() avoids unnecessary re-rendering

There are situations where a component re-renders, even if neither its state nor its props changed. That adds up and can be an expensive operation.

Here’s an example of … Read article

The post React 16.6.0 Goodies appeared first on CSS-Tricks.

Read more

Brochure Design Software: 3 Options Compared

So, you need to design a brochure? Where do you start? We’re comparing three different pieces of brochure design software to see how they stack up. For web and digital designers creating a printed brochure for the first time, to designers that have been making print pieces for a while, using the right tool can […]
Read more