How to build a PWA from scratch with HTML, CSS, and JavaScript
Progressive web apps are a way to bring that native app feeling to a traditional web app. With PWAs we can enhance our website with mobile app features which increase usability and offer a great user experience. In this article, we are going to build a PWA from scratch with
An intro to CSS Image Sprites: they’re easy to learn and great to know
by Zlatan Bekric An intro to CSS Image Sprites: they’re easy to learn and great to know Photo by Markus Spiske [https://unsplash.com/@markusspiske?utm_source=medium&utm_medium=referral] on Unsplash [https://unsplash.com?utm_source=medium&utm_medium=referral]Image sprites have been here since the 1970s. They were used for the first computer animations on Atari and other consoles. As time went on
How to Use Pure CSS to Create a Beautiful Loading Animation for your App
If you’ve been around the internet lately, you’ve most likely seen a nice subtle loading animation that fills page content before gracefully loading in. Some of the social giants like Facebook even use this approach to give page loading a better experience. How can we do that with just
HTML Background Color Tutorial – How to Change a Div Background Color, Explained with Code Examples
One of the most common things you may have to do as a web developer is to change the background-color of an HTML element. But it may be confusing to do if you do not understand how to use the CSS background-color property. In the article, we discuss
How to Center Anything with CSS – Align a Div, Text, and More
Centering things is one of the most difficult aspects of CSS. The methods themselves usually aren’t difficult to understand. Instead, it’s more due to the fact that there are so many ways to center things. The method you use can vary depending on the HTML element you’re trying
What is Tailwind CSS and How Can I Add it to my Website or React App?
CSS is a technology that can be your best or worst friend. While it’s incredibly flexible and can produce what seems like magic, without the proper care and attention, it can become hard to manage like any other code. How can Tailwind CSS help us to take control of
Changing H2 Element Color
In coding there are often many different solutions to a given problem. This is especially true when it comes to styling an HTML element. One of the easiest things to change is the color of text. But sometimes it seems like nothing you try is working: