Making Mobile Web a Priority

More and more people are ditching their desktops for phones and tablets. If your site doesn’t display properly on mobile, you run the risk at falling behind your competitors. According to Global Product Partnership, Barb Palsner, the median mobile web experience has grown almost 1,000 percent in the last eight years. That is a staggering …
The post Making Mobile Web a Priority appeared first on Torque.
Read more

Introducing GitHub Actions

It’s a common situation: you create a site and it’s ready to go. It’s all on GitHub. But you’re not really done. You need to set up deployment. You need to set up a process that runs your tests for you and you’re not manually running commands all the time. Ideally, every time you push to master, everything runs for you: the tests, the deployment… all in one place.

Previously, there only few options here that could help with …

The post Introducing GitHub Actions appeared first on CSS-Tricks.

Read more

How to Import a Sass File into Every Vue Component in an App

If you’re working on a large-scale Vue application, chances are at some point you’re going to want to organize the structure of your application so that you have some globally defined variables for CSS that you can make use of in any part of your application.

This can be accomplished by writing this piece of code into every component in your application:

<style lang="scss">
@import "./styles/_variables.scss";
</style>

But who has time for that?! We’re programmers, let’s do this programmatically.

Why?…

The post How to Import a Sass File into Every Vue Component in an App appeared first on CSS-Tricks.

Read more

Why Using reduce() to Sequentially Resolve Promises Works

Writing asynchronous JavaScript without using the Promise object is a lot like baking a cake with your eyes closed. It can be done, but it’s gonna be messy and you’ll probably end up burning yourself.

I won’t say it’s necessary, but you get the idea. It’s real nice. Sometimes, though, it needs a little help to solve some unique challenges, like when you’re trying to sequentially resolve a bunch of promises in order, one after the other. A trick …

The post Why Using reduce() to Sequentially Resolve Promises Works appeared first on CSS-Tricks.

Read more

Top 5 Graphic Design Trends of 2018 (+ a Preview of 2019)

What’s hot in graphic design? One of the things people always want to talk to me about is graphic design trends. Here’s a recap of the top graphic design trends of 2018, plus a little preview of what’s likely on the horizon for 2019. It’s such an interesting topic because there are trends that change […]
Read more

First Look at The Twenty Nineteen Default Theme

Allan Cole, a WordPress Theme Imagineer at Automattic has published the first glimpses of the Twenty Nineteen default theme slated to ship with WordPress 5.0. Cole is leading the theme while Kjell Regstad who does Product and Editorial Design at Automattic will be a design coach. Twenty Nineteen Blog Post (more…)
Read more

Why don’t we add a `lovely` element to HTML?

<person>, <subhead>, <location>, <logo>… It’s not hard to come up with a list of HTML elements that you think would be useful. So, why don’t we?

Bruce Lawson has a look. The conclusion is largely that we don’t really need to and perhaps shouldn’t.

By my count, we now have 124 HTML elements, many of which are unknown to many web authors, or regularly confused with each other—for example, the difference between <article> and <section>. …

The post Why don’t we add a `lovely` element to HTML? appeared first on CSS-Tricks.

Read more

How to Develop a Strong Internal Linking Structure for Your Website (4 Key Tips)

We’re willing to bet that you’re always on the lookout for ways to drive more traffic to your site. In addition, keeping that traffic around long enough to experience a solid chunk of your content is vital. However, it can be a challenge to find easy ways to accomplish both of those goals. While there …
The post How to Develop a Strong Internal Linking Structure for Your Website (4 Key Tips) appeared first on Torque.
Read more

WordPress.com

Hey! Chris here, with a big thanks to WordPress, for not just their sponsorship here the last few months, but for being a great product for so many sites I’ve worked on over the years. I’ve been a web designer and developer for the better part of two decades, and it’s been a great career for me.

I’m all about learning. The more you know, the more you’re capable of doing and the more doors open for you, so …

The post WordPress.com appeared first on CSS-Tricks.

Read more