Making Mobile Web a Priority
The post Making Mobile Web a Priority appeared first on Torque.
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.
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.
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.
<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.
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.
Explore what the world is searching. Enter a search term or a topic.


