Shubham Vora has Published 962 Articles

Which characters are valid in CSS class names/selectors?

Shubham Vora

Shubham Vora

Updated on 21-Apr-2023 16:52:46

2K+ Views

In CSS, class names or selectors are used to select a particular HTML element. There are some CSS rules to define the class names or CSS selectors. In this tutorial, we will learn all CSS rules and about valid characters to create class names. Here are the rules for creating ... Read More

What is the use of SASS @import function?

Shubham Vora

Shubham Vora

Updated on 21-Apr-2023 16:32:51

1K+ Views

The SASS is a CSS preprocessor that keeps the CSS code dry as it doesn’t allow repetition in the code. There are various directives available in the SASS, one of which is the @import directive. The ‘@import’ directive is used to import the code of one ‘.scss’ or ‘.sass’ file ... Read More

Uses of an embedded style sheet in CSS

Shubham Vora

Shubham Vora

Updated on 21-Apr-2023 16:31:54

290 Views

CSS stands for the Cascading style sheet. HTML is used to create a web page, which adds text, images, videos, etc., to the web page. After that, we require to style the texts and images, which we can do using CSS only. Basically, we can add styles such as background, ... Read More

Transition shorthand with multiple properties in CSS?

Shubham Vora

Shubham Vora

Updated on 21-Apr-2023 16:30:10

517 Views

We can add transitions to HTML elements using CSS. Before we start with the tutorial, let’s understand what transition is. Basically, the transition is an element changing from one state to another state. For example, we change the dimensions of the element when users hover over the element. In CSS, ... Read More

Top 5 HTML Tricks That You Should Know

Shubham Vora

Shubham Vora

Updated on 21-Apr-2023 16:25:32

1K+ Views

HTML is used to create web pages. In every new release of HTML, developers make some changes and add unique features. Here, we will discuss that unknown features by most developers who can help developers improve web pages. Here, we have explained the top 5 HTML tricks with examples. Color ... Read More

Toggle class by adding the class name when element is clicked and remove when clicked outside

Shubham Vora

Shubham Vora

Updated on 21-Apr-2023 16:23:03

5K+ Views

Sometimes, we need to highlight the HTML element when we click it and make it normal when we click outside the HTML element. We can achieve it by toggling the class in the element. Here, the meaning of the toggling class is adding and removing the class. In this tutorial, ... Read More

Snowfall Animation Effect using CSS

Shubham Vora

Shubham Vora

Updated on 21-Apr-2023 16:21:45

414 Views

We can create an animation using HTML and CSS. When we add animation to the webpage, it improves the UX of the application. We can create various animations using the CSS keyframes property and use it using the ‘animation’ CSS property. In this tutorial, we will learn to create a ... Read More

JavaScript Program to Count Rotations Divisible by 8

Shubham Vora

Shubham Vora

Updated on 20-Apr-2023 17:02:54

91 Views

Problem Statement − We have given a number. We need to rotate the number and need to find the total number of rotations divisible by 8. Here, we will learn two different approaches to counting rotations divisible by 8. Rotate the Number and Check if Rotation is Divisible by 8 ... Read More

JavaScript Program to Count Rotations Divisible by 4

Shubham Vora

Shubham Vora

Updated on 20-Apr-2023 17:02:19

98 Views

In this tutorial, we will learn to count the total number of rotations divisible by 4 for the given number. Problem statement − We have given a number value. We need to rotate numbers in clockwise or anti-clockwise directions and count the total number of rotations divisible by 4. Here, ... Read More

JavaScript Program to Count Inversions of size three in a given array

Shubham Vora

Shubham Vora

Updated on 20-Apr-2023 17:00:45

105 Views

In this tutorial, we will learn to count inversions of size three in a given array. Problem statement − We have given an array of length n containing the different numeric entries. We need to find the total number of pairs of numbers of size 3 such that arr[i] > ... Read More

Advertisements