June 19, 2024 in MUI, React

Building a Custom Color Picker Component with MUI and React-Color

In modern web applications, integrating a robust and user-friendly color picker can significantly enhance the user experience. This is especially true for design tools, customizable theme interfaces, and other interactive applications. In this blog post, we’ll walk you through creating a custom MUI Color Picker component using Material-UI (MUI) and React-Color. The MUI Color Picker […]

May 2, 2024 in CSS, HTML

Master CSS Grid Layout: Centering Content in Cells

To understand how centering works in a grid container, it’s first important to know the grid layout’s structure and scope. The HTML structure of a grid container consists of three layers: Each layer operates independently when it comes to applying grid properties. The scope of a grid container is limited to a parent-child relationship, meaning […]

April 24, 2019 in Wordpress

Gutenberg Blocks – Understanding the Basics

Let’s take a look at the Gutenberg Block in its simplest form to understand how a block works, and how can we create our own blocks. Gradually we will move on to understand more advanced stuff to make more interesting blocks. (Editable blocks, Toolbars, Options, etc.) WordPress has many inbuilt libraries that allow us to […]

April 16, 2018 in Bootstrap, CSS

Why Reboot is created for Bootstrap 4 instead of using Normalize?

You might have used normalize in your projects. Bootstrap 4 has created its on version on top of the normalize called reboot. If you are not familiar with normalize, it overwrites browser’s default CSS to eliminate browser inconsistencies, like different font sizes, or margin etc. It also add many CSS rules that helps you make […]

April 9, 2018 in Cheat Sheet, Freebies, WooCommerce, Wordpress

WooCommerce Cheatsheet: Single Product Page

WooCommerce comes with its own template structure, hooks, and functions. It takes a lot of time to find the relevant hooks, functions or template files when you want to make some changes in WooCommerce. I have created this series of Visual Guides / Cheat Sheets to make it easier to find the information regarding a […]

April 2, 2018 in Bootstrap, CSS

Understanding EMs and REMs

As we know Bootstrap 4 is using em’s and rem’s instead of pixels, so its necessary to understand what these units are, and how they work. Let’s take a look. There are few things that you should memorise about em’s and rem’s, these points will help you understand these units more easily.

October 26, 2017 in CSS

Horizontal & Vertical centring using flexbox module

Aligning content vertically inside a DIV or a box has always been an issue in CSS. There was some tricks available with display: table and display: table-cell properties. But it was never convenient to implement, until flexbox module came into the existence. With Flexbox, one can align anything (vertically or horizontally) with the align-items and […]

April 29, 2016 in CSS

Evenly spaced multi-line navigation using Flexbox module (CSS3)

Recently, in one of my project, the client asked me to create a multi-line navigation, which should be evenly spaced according to link text. One major consideration was that navigation should be dynamic and the number of links can be changed in future if needed.