Clean unused CSS with PurgeCSS & Laravel Mix

  • avatar
  • 1.5K Views
  • 2 Likes
  • 5 mins read
Preview post image

PurgeCSS is a tool to remove unused CSS. When you are building a website, you might decide to use a CSS framework like TailwindCSS, Bootstrap, MaterializeCSS, Foundation, etc... You will only use a small set of the framework but a lot of unused CSS styles will be included.

PurgeCSS analyzes your content and your CSS files. Then it matches selectors used in your files with the ones in your content files. It removes unused selectors from your CSS, resulting in smaller CSS files. PurgeCSS comes with a JavaScript API, a CLI and plugins for popular build tools.

Your first Docker Hub image from scratch

  • avatar
  • 1.1K Views
  • 1 Like
  • 6 mins read
Preview post image

Docker provides the ability to package and run an application in a loosely isolated environment called a container. The isolation and security allow you to run many containers simultaneously on a given host. Containers are lightweight and contain everything needed to run the application, so you do not need to rely on what is currently installed on the host. You can easily share containers while you work, and be sure that everyone you share with gets the same container that works in the same way.

Docker compose introduction

  • avatar
  • 855 Views
  • 2 Likes
  • 8 mins read
Preview post image

Docker Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration.

The features of Docker Compose that make it effective are:

 Join Our Monthly Newsletter

Get the latest news and popular articles to your inbox every month

Comprehensive cheatsheet of Docker commands

  • avatar
  • 221 Views
  • 3 Likes
  • 7 mins read
Preview post image

In this post, we examine various Docker commands and concepts that are frequently used to manage Docker containers in local development environment. We provide a detailed analysis of how these essential tools function and give integration examples. Whether you're a novice or an experienced Docker user, our post can offer valuable insights and tips for effectively managing Docker containers on your machine.

Hey visitor! Register your account and get access to featured articles and more - it's free.