Abhishek has Published 60 Articles

File Splitting in SASS

Abhishek

Abhishek

Updated on 08-May-2023 16:50:42

SASS is a CSS pre-processor, that stands for Syntactically Awesome Style Sheet. The SASS code is written just like a scripting language like JavaScript, but at the time of compilation it is converted into CSS and compiled as CSS in the browser. SASS can be used with any version of ... Read More

CSS units – %, em, rem, px, vh, vw

Abhishek

Abhishek

Updated on 08-May-2023 16:47:44

In CSS or the Cascading Style Sheet, there are many units available to represent the values of different properties in different ways according to the need. The CSS properties like: font-size, height, width and line-height etc are used to define the different properties to a container. The values of these ... Read More

How are the points in CSS specificity calculated?

Abhishek

Abhishek

Updated on 08-May-2023 16:44:23

CSS specificity, is a type of process in which different CSS selectors are differentiated or prioritize according to the points, and the selector with highest number of specificity points will win and the CSS styles of that selector will be applied to the element. The points hierarchy of each CSS ... Read More

How to add a custom right-click menu to a webpage?

Abhishek

Abhishek

Updated on 08-May-2023 16:42:59

In today’s time, when you right click on any web page there will be a list of some with some options and functionality pops up. This popup menu is also known as the context menu which is a default popup menu given by browser. The items in the list of ... Read More

How to make the cursor to hand when a user hovers over a list item using CSS?

Abhishek

Abhishek

Updated on 08-May-2023 16:40:25

In general, if we hover or take the cursor over an element in HTML document the cursor by default appears as an arrow or a selector if we hover it over a text. But, we can change the behaviour of the cursor on hover to selected elements to any type ... Read More

How to retrieve stored value from div element using jQuery?

Abhishek

Abhishek

Updated on 08-May-2023 16:38:44

In some situations, we need to retrieve or get the text value stored inside a particular div element to use some condition, if the text is dynamic or for some other tasks in jQuery. By getting the value stored in the div element, we can perform any task based on ... Read More

How to reverse array of DOM elements using jQuery?

Abhishek

Abhishek

Updated on 08-May-2023 16:36:58

The array of DOM elements is an array of same multiple elements or of those elements which contains same class or the selecting attribute. Our task is to reverse an array of DOM elements using jQuery. There will be a lot of ways to reverse an array of DOM elements. ... Read More

How to Change the Time Interval of setinterval() Method at RunTime using JavaScript ?

Abhishek

Abhishek

Updated on 17-Feb-2023 11:57:00

The setInterval() method is used to call a particular block of code again and again after a particular interval of time that is given to it in its round braces as parameter. The setInterval() method accepts two parameters, the first is the code that has to be executed again and ... Read More

How to change the text of a label using JavaScript?

Abhishek

Abhishek

Updated on 17-Feb-2023 11:55:49

Before going to learn about the method of changing the text of a label element in HTML document, let us understand what is the label tag itself? The label tag helps in improving the usability of the web page for mouse users, as it can toggle the text inside it ... Read More

How to change the text and image by just clicking a button in JavaScript?

Abhishek

Abhishek

Updated on 17-Feb-2023 11:54:44

The text given to an particular element and the image given in an img element can be easily changed using the JavaScript. We can use the onclick event with the button element in the HTML document to make this happen when the button is clicked. To change the text on ... Read More

Advertisements