Shabaz Alam has Published 55 Articles

How to create toggle switch by using HTML and CSS?

Shabaz Alam

Shabaz Alam

Updated on 05-Aug-2024 11:09:54

18K+ Views

To create toggle switch by using HTML and CSS, we will be using simple HTML input elements and CSS for styling the toggle box to make it user intercative. A toggle switch is a graphical user interface element that allows users to toggle between two states, usually 'on' and 'off'. ... Read More

How to change the color of the radio button using CSS?

Shabaz Alam

Shabaz Alam

Updated on 19-Jul-2024 15:27:07

28K+ Views

To change the color of the radio button using CSS, is a simple process that can be achieved using various approaches. In this article, we will learn and understand two different approach for changing the color of the radio button using CSS. Radio buttons allows to select one option out ... Read More

How to change the position of the scrollbar using CSS?

Shabaz Alam

Shabaz Alam

Updated on 10-Jul-2024 14:59:26

53K+ Views

To change the position of the scrollbar using CSS, there are various approaches which can be implemented to change scrollbar position and can be placed in any of four directions. In this article we are having div elements with text content inside it. Our task is to change the position ... Read More

How to change the color of an image to black and white using CSS?

Shabaz Alam

Shabaz Alam

Updated on 03-Jul-2024 17:33:53

16K+ Views

To change the color of an image to black and white using CSS, is a simple process that can be done using various approaches. In this article, we will learn and understand two different methods for changing an image to black and white using CSS. We are having an image ... Read More

How to Set Color of Progress Bar using HTML and CSS?

Shabaz Alam

Shabaz Alam

Updated on 02-Jul-2024 14:24:06

21K+ Views

To set color of progress bar, is an important part of website as progress bar displays progress of any process like file downloads, loading time, file uploads, and other similar tasks. In this article, we have a progress bar whose by default color is grey, our task is to change ... Read More

How to set div width to fit content using CSS?

Shabaz Alam

Shabaz Alam

Updated on 26-Jun-2024 17:46:43

52K+ Views

To set div width to fit content using CSS is an important task due to various reasons like making a responsive design and optimal use of space. In this article, we have used a p element to write content inside div element. We are having div as parent element and ... Read More

How to add space between elements?

Shabaz Alam

Shabaz Alam

Updated on 06-Sep-2023 22:06:40

66K+ Views

In an HTML web page, the space between elements refers to the area around and between different elements, such as text, images, and other HTML elements. There are several ways to add space between elements in web design. One common method is to use CSS (Cascading Style Sheets) to create ... Read More

Fabric.js Circle centeredScaling Property

Shabaz Alam

Shabaz Alam

Updated on 13-Apr-2023 09:16:15

309 Views

Fabric.js is a powerful JavaScript library that enables you to create and manipulate canvas objects with ease. The centeredScaling property is one of the useful properties in fabric.js, which is very helpful when working with circles. This property allows us to scale the circle from its center point. It is ... Read More

How to set length to set the gap between the columns in CSS?

Shabaz Alam

Shabaz Alam

Updated on 12-Apr-2023 16:08:54

352 Views

CSS is a powerful tool in web development, which allows developers to create multi-column layouts for text content on a web page. Columns are an efficient way to break up long blocks of text into more manageable chunks. One important aspect of CSS columns is the gap between them. Different ... Read More

How to set indent the second line of paragraph using CSS?

Shabaz Alam

Shabaz Alam

Updated on 12-Apr-2023 16:06:05

3K+ Views

HTML is used to create the structure of a web page. Additionally, CSS is used to style the visual appearance of those pages. In CSS, Indenting is one of the important aspects of the formatting text on the web pages. It allows developers to create the visual effects at the ... Read More

Advertisements