Going Offline

Jeremy Keith has written a new book all about service workers and offline functionality that releases at the end of the month. The first chapter is posted on A List Apart. Now that the latest versions of iOS and macOS Safari support service workers, I can’t think of a better time to learn about how progressive web apps work under the hood. In fact, here’s an example of a simple offline site and a short series on making

The post Going Offline appeared first on CSS-Tricks.

Read more

Doc Pop’s News Drop: Flipping the Script on Hackers with the Coin Auth Plugin

Doc’s WordPress News Drop is a weekly report on the most pressing WordPress news. When the news drops, I will pick it up and deliver it right to you. Wouldn’t it be nice to be able to flip the script on hackers and run cryptomining software on their computers? In this week’s video we talk …
The post Doc Pop’s News Drop: Flipping the Script on Hackers with the Coin Auth Plugin appeared first on Torque.
Read more

What is the Optimal Content Length? – Here’s What the Science Says

What is the optimal content length? How long should your blog posts be? What is the ideal word count for SEO? These are questions many would-be bloggers and marketers ask themselves. Obviously many things go into successful content marketing. From choosing the right keywords, to learning to write well, to image optimization. All these are …
The post What is the Optimal Content Length? – Here’s What the Science Says appeared first on Torque.
Read more

20+ Best Responsive Website & App Mockup Templates

Are you looking for the perfect mockup template to showcase your website or app in a professional way? Well, look no further. In this post, we’re bringing you a collection of responsive mockup templates that can beautifully showcase your website design. Whether you’re building a portfolio, promoting a mobile app, a SaaS business, an online […]
Read more

Displaying the Weather With Serverless and Colors

I like to jog. Sometimes it’s cold out. Sometimes it’s cold out, but it looks like it isn’t. The sun is shining, the birds are chirping. Then you step outside in shorts and a t-shirt and realize you have roughly 2 minutes before exposure sets in.

I decided to solve this first world problem using a lightbulb to display a certain color based on what the temperature outside is. It works better than I expected, and that’s saying something because …

The post Displaying the Weather With Serverless and Colors appeared first on CSS-Tricks.

Read more

Back to Basics: A New Developer’s Guide to Creating WordPress Products

Your New Year’s resolution might have been to start developing for WordPress. However, despite the platform’s ease of use, there’s still a learning curve to master. You’ll find there are plenty of resources available to help you begin, but understanding everything involved could prove challenging. Fortunately, the basics of developing for WordPress are easy to …
The post Back to Basics: A New Developer’s Guide to Creating WordPress Products appeared first on Torque.
Read more

7 Tips for Using Background Textures in Web Design

This is not your typical roundup of textures to use for website backgrounds. If you are looking for a specific texture, we have those here. But what if you want to create your own? Or find a way to customize a texture to fit your project? That’s what we’ll focus on today. While there are […]
Read more

Simple Swipe With Vanilla JavaScript

I used to think implementing swipe gestures had to be very difficult, but I have recently found myself in a situation where I had to do it and discovered the reality is nowhere near as gloomy as I had imagined.

This article is going to take you, step by step, through the implementation with the least amount of code I could come up with. So, let’s jump right into it!

The HTML Structure

We start off with a .container that …

The post Simple Swipe With Vanilla JavaScript appeared first on CSS-Tricks.

Read more