Shubham Vora has Published 957 Articles

Resize image proportionally with CSS

Shubham Vora

Shubham Vora

Updated on 18-Apr-2023 15:30:17

553 Views

To make a responsive design of the application, we also require to make an image responsive. If images are not responsive, overflow occurs in the app, and it looks worst. So, we also require to increase or decrease the images' dimensions proportional to the parent element's dimensions. Here, we ... Read More

Which property specifies the right padding of an element in CSS?

Shubham Vora

Shubham Vora

Updated on 12-Apr-2023 09:01:50

243 Views

In CSS, the padding property allows us to add extra space between the HTML element’s border and its content. The right padding means only adding the space between the element’s content and the right border. Here, we will learn two different properties to specify the right padding of an element. ... Read More

Which property is used to set the background image of an element using CSS?

Shubham Vora

Shubham Vora

Updated on 12-Apr-2023 09:00:08

720 Views

In CSS, the ‘background-image’ property is used to set the background image of an element using CSS. The background-image property takes 4 different properties, as explained below. Url () − It takes an image path or remote url to fetch the image from a particular location and set it ... Read More

Which property is used to make a font oblique?

Shubham Vora

Shubham Vora

Updated on 11-Apr-2023 17:09:28

387 Views

In CSS, we can use the ‘font-style’ property to set the style of the font. We can use the different styles as a value of the font-style property, and ‘oblique’ is one of them. Basically, the ‘oblique’ font is a sloppy version of the text, and we set the angle ... Read More

Which one should we use ‘border: none’ or ‘border: 0 ‘?

Shubham Vora

Shubham Vora

Updated on 11-Apr-2023 17:06:54

915 Views

In CSS, the ‘border’ property is used to add a border to the HTML elements. We can add a border of widths, styles, and colours to the HTML element. Two border values come to mind when we need to remove the border from any element. The first value is ‘none’, ... Read More

What is maximum & minimum value for z-index property in CSS?

Shubham Vora

Shubham Vora

Updated on 11-Apr-2023 16:20:13

2K+ Views

In CSS, the z-index property is used to put one element on another. For example, we can create a stack of multiple HTML elements using CSS. If you have ever used the z-index property, you must have seen its value like 9, 99, 999, 0, -9, -99999, etc. Have you ... Read More

Image Classification using JavaScript

Shubham Vora

Shubham Vora

Updated on 07-Apr-2023 09:45:22

1K+ Views

The meaning of image classification is to extract as much information from the image as possible. For example, when you upload an image to Google photos, it extracts information from the image and suggests the location based on that. We can use OpenCV to detect every small information from the ... Read More

HTTP Cookies in Node.js

Shubham Vora

Shubham Vora

Updated on 06-Apr-2023 16:07:44

11K+ Views

The cookies are the data stored in the user’s browser for quick access. For example, whenever we log in to any website, the server returns the access token, which can be stored in the browser’s cookie with the expiry time. So, whenever a user revisits the website, they don’t need ... Read More

How TypeScript Compilation Works?

Shubham Vora

Shubham Vora

Updated on 06-Apr-2023 16:06:41

3K+ Views

The popular programming language TypeScript has been widely adopted by developers in recent years. It is a superset of JavaScript that enhances the language with static typing and other features to make complicated application development simpler and error-prone. However, TypeScript code must be compiled into JavaScript because it cannot be ... Read More

How to use protractor to wait for the element’s attribute to change to a particular value?

Shubham Vora

Shubham Vora

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

520 Views

We will learn to use protractor to wait for the element’s attribute to change to a particular value. Protractor is an end-to-end testing framework for Angular and AngularJS applications. Protractor has built-in support for waiting for Angular-specific elements to load and be ready before performing test operations. We need to ... Read More

Advertisements