Shubham Vora has Published 962 Articles

How to Configure Socket.IO with Demo-Chat App in Node.js?

Shubham Vora

Shubham Vora

Updated on 04-May-2023 16:55:10

190 Views

Socket.io is a popular JavaScript library that allows us to communicate between the server and the client. We can create an instance of socket.io on the client and server sides and listen to or emit the events from both sides. Also, we can listen to the event emitted from the ... Read More

How to Configure Mouse Wheel Speed Across Browsers using JavaScript?

Shubham Vora

Shubham Vora

Updated on 04-May-2023 16:53:48

4K+ Views

We can use JavaScript to change the behavior of the web page. Every browser has a default scrolling speed when users scroll using the mouse wheel. However, we can control it using JavaScript. We can also use the mouse wheel to zoom in and out of web pages. In such ... Read More

What is the @content directive used for?

Shubham Vora

Shubham Vora

Updated on 27-Apr-2023 15:34:23

157 Views

IN SASS, the @content directive is used to pass the CSS content into the mixins or functions. The mixins and functions allow developers to avoid the repetitions of the code. However, the @content directive also helps developers to reuse the code but provides more flexibility than functions and mixins. Developers ... Read More

What is Progressive Rendering?

Shubham Vora

Shubham Vora

Updated on 27-Apr-2023 15:33:42

851 Views

Introduction Have you ever measured the loading speed of your website? If No, there are lots of tools available on the internet to test the website speed. Search for anyone and measure it. If the website loading speed is more than 3 seconds, it means you are losing a total ... Read More

What is greater-than sign (>) selector in CSS?

Shubham Vora

Shubham Vora

Updated on 27-Apr-2023 15:32:27

2K+ Views

In CSS, the ‘>’ sign is not used to compare two values like in other programming languages. Here, we use the greater than sign (>) as a selector. In CSS, selectors are used to selecting single or multiple HTML elements. Whenever we use the greater than sign in the selector, ... Read More

What is Graceful Degradation in CSS?

Shubham Vora

Shubham Vora

Updated on 27-Apr-2023 15:30:14

103 Views

What is Graceful Degradation? If you are an experienced web developer, you may have heard the graceful degradation word before. Before we learn about the graceful degradation in web development, let’s break down the word. The meaning of graceful is elegant or beautiful, and degradation is breaking or falling down. ... Read More

What is font-family -apple-system?

Shubham Vora

Shubham Vora

Updated on 27-Apr-2023 15:26:32

2K+ Views

In CSS, the ‘font-family’ property is used to set the fonts for the text content of the HTML element. It takes the multiple font names as a value. If the browser does not support the first font, it sets the next font style for the HTML element. Users can follow ... Read More

What is Float Containment in CSS?

Shubham Vora

Shubham Vora

Updated on 27-Apr-2023 15:24:05

96 Views

First, let’s understand float containment before starting this tutorial. So, Float containment is a technique used in the CSS to control the layout of the web page elements. Whenever we set the ‘float’ property for any HTML element, it automatically gets removed from the original document flow of the web ... Read More

What is a @extend directive in SASS?

Shubham Vora

Shubham Vora

Updated on 27-Apr-2023 15:19:50

93 Views

The SASS allows developers to write more readable code and manipulate it in a better way. It contains multiple directives such as @media, @content, @include, @mixin, @extend, etc., providing some functionality so developers can write better code than normal CSS. In this tutorial, we will learn about the @directive in ... Read More

What does the CSS rule “clear: both” do?

Shubham Vora

Shubham Vora

Updated on 27-Apr-2023 15:16:29

284 Views

We use the ‘float’ property in CSS to keep elements floating on the left or right side. So, whenever we set the ‘float’ property for any HTML element, it is taken out from the document's normal flow, and sometimes it can create lots of problems. The ‘clear’ CSS property allows ... Read More

Advertisements