Building Battleship in CSS

This is an experiment to see how far into an interactive experience I can get using only CSS. What better project to attempt than a game? Battleship seemed like a good challenge and a step up from the CSS games I’ve seen so far because it has the complexity of multiple areas that have to interact with two players.

Wanna see the complete game?

View Repo View Demo

Oh, you wanna learn how it works? Let’s dig in.

I could …

The post Building Battleship in CSS appeared first on CSS-Tricks.

Read more

​Task management has never been easier

(This is a sponsored post.)

monday.com is a team management tool that is exceptionally suitable for any industry sector and by any sized team. It will perfectly serve a team of two or a team of hundreds spread around the globe, and it can manage multiple projects at once.

monday.com promotes effortless collaboration and transparency, it’s “cheetah fast,” it displays status in as many as 20 different colors, and its status board can be customized to fit your needs …

The post ​Task management has never been easier appeared first on CSS-Tricks.

Read more

Understanding why Semantic HTML is important, as told by TypeScript

What a great technological analogy by Mandy Michael. A reminder that TypeScript…

makes use of static typing so, for example, you can give your variables a type when you write your code and then TypeScript checks the types at compile time and will throw an error if the variable is given a value of a different type.

In other words, you have a variable age that you declare to be a number, the value for age has to stay …

The post Understanding why Semantic HTML is important, as told by TypeScript appeared first on CSS-Tricks.

Read more

Creating the “Perfect” CSS System

My pal Lindsay Grizzard wrote about creating a CSS system that works across an organization and all of the things to keep in mind when starting a new project:

Getting other developers and designers to use the standardized rules is essential. When starting a project, get developers onboard with your CSS, JS and even HTML conventions from the start. Meet early and often to discuss every library, framework, mental model, and gem you are interested in using and take feedback …

The post Creating the “Perfect” CSS System appeared first on CSS-Tricks.

Read more

Torque Toons: Try Gutenberg

Would you like to Try Gutenberg? Now that WordPress 4.9.8 is here, it’s a great time to start. Don’t forget to check out our other editorial toons!
The post Torque Toons: Try Gutenberg appeared first on Torque.
Read more

Practical CSS Scroll Snapping

CSS scroll snapping allows you to lock the viewport to certain elements or locations after a user has finished scrolling. It’s great for building interactions like this one:

Live Demo
Browser support and basic usage

Browser support for CSS scroll snapping has improved significantly since it was introduced in 2016, with Google Chrome (69+), Firefox, Edge, and Safari all supporting some version of it.

Scroll snapping is used by setting the scroll-snap-type property on a container element and the …

The post Practical CSS Scroll Snapping appeared first on CSS-Tricks.

Read more

What Is a Web Design Proposal? (And How to Write One)

The most successful design projects often start with a successful business foundation. Whether you work on an agency team with other creatives or are a freelancer trying to sell your own products and services a solid web design proposal can help you win clients and set expectations for work. Here’s everything you need to know […]
Read more

Adobe Stock: A 101 Introduction

Navigating the world of stock images can be tough. There are a lot of sources and even more photos to sort through. Finding a reputable vendor for stock images that’s easy to use can be a lifesaver. That’s where Adobe Stock comes in. Adobe – the same company you know for making software that you […]
Read more