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

`:focus-visible` and backwards compatibility

Patrick H. Lauke covers the future CSS pseudo class :focus-visible. We’re in the early days of browser support, but it aims to solve an awkward situation:

… focus styles can often be undesirable when they are applied as a result of a mouse/pointer interaction. A classic example of this are buttons which trigger a particular action on a page, such as advancing a carousel. While it is important that a keyboard user is able to see when their focus …

The post `:focus-visible` and backwards compatibility appeared first on CSS-Tricks.

Read more

Keep Pixelated Images Pixelated as They Scale

This is a little reminder that there is a CSS property for helping control what happens to images as they scale up: image-rendering.

We’re quite used to the idea that scaling an image larger than its natural size (upscaling) causes it to be blurry. As awful as that is, it’s the browser doing the best it can to algorithmically smooth out an image over more pixels than it has data. But let’s say you’d really rather not it do …

The post Keep Pixelated Images Pixelated as They Scale appeared first on CSS-Tricks.

Read more

An Update to My Gutenberg Experience

Not long after I published my experience with Gutenberg, developers reached out to me to work on some of the issues I mentioned. Riad Benguella figured out why meta boxes were not collapsing or expanding. It turns out that some meta boxes depend on the post script which has a (more…)
Read more

“Just”

Brad Frost’s “Just” article from a few years ago has struck a fresh nerve with folks. It’s a simple word that can slip out easily, that might be invoked to keep text casual-feeling, but the result can be damaging. Brad:

The amount of available knowledge in our field (or any field really) is growing larger, more complex, and more segmented all the time. That everyone has downloaded the same fundamental knowledge on any topic is becoming less and less probable. …

The post “Just” appeared first on CSS-Tricks.

Read more