Found 10711 Articles for Web Development

Use of :even and :odd pseudo-classes with list items in CSS

Shubham Vora
Updated on 05-May-2023 16:44:49

4K+ Views

The CSS contains various pseudo-classes. The ‘:even’ and ‘:odd’ are among them. It is used to select the alternative child elements. Sometimes, developers require to design alternative elements using the different styles. In such cases, they can use specific CSS selectors to select the even and odd elements. In this tutorial, we will learn to use the ‘:even’ and ‘:odd’ pseudo-classes with list items. Using the ‘:odd’ Pseudo-class With List Items The ‘:odd’ pseudo-class is used to select the HTML elements which are at odd positions. We can use the ‘:odd’ class with the nth-child() CSS method to select all ... Read More

Role of ViewPort in Visual Formatting Model

Shubham Vora
Updated on 05-May-2023 16:43:15

91 Views

It is crucial to know about viewport in the visual formatting model for any web developer to develop a responsive website. The viewport is an area that is visible in the browser window or mobile device screen. In this tutorial, we will learn about the role of viewport in visual formatting models with examples. What is a Visual Formatting Model? The visual formatting model allows web browsers to decide how to show the HTML content on the web page. It provides the visualization for the content. The visual formatting model shows the content on the web page according to the ... Read More

Progressive Enhancement

Shubham Vora
Updated on 05-May-2023 16:41:04

136 Views

In today's web development landscape, creating a website that works well across different devices and platforms is essential. This is where Progressive Enhancement comes in. Progressive Enhancement is a web design philosophy that focuses on building a website or application with a basic, functional version that works on all devices and browsers, and then gradually enhancing the website's features for more capable devices and browsers. In this tutorial, we will discuss what Progressive Enhancement is, why it is important, and how to implement it in our web design process. Core Principles of Progressive Enhancement The core principles of Progressive Enhancement ... Read More

Prime CSS Marketing Link Colors

Shubham Vora
Updated on 05-May-2023 16:39:26

95 Views

The primer CSS is a framework allowing users to add pre-defined styles to the HTML elements. We can use primer CSS to style the various HTML elements such as buttons, links, forms, etc. In this tutorial, we will learn to style the HTML links with various colors using the primer CSS. Syntax Users can follow the syntax below to use the primer CSS to style the HTML link. Primary Link In the above syntax, we used the ‘Link-primary’ class with the ‘a’ tag to style it. Example 1 We can style HTML links using the various class names ... Read More

Prime CSS Marketing Buttons Animated Arrow Symbol

Shubham Vora
Updated on 05-May-2023 16:36:38

142 Views

Let’s start the tutorial by understanding what is marking buttons and when we should use them. For a moment, think that you are an owner of the company and building a software product, and also, you don’t have any users or customers. Is it worth of product? The answer is no. To get customers, you must market your product; it is all about attracting your customer. So, developers can create a marketing button with an animated arrow icon to attract users and grow your product. In this tutorial, we will use the primer CSS framework to create marketing buttons with ... Read More

Pagination using Datatables

Shubham Vora
Updated on 05-May-2023 16:33:30

6K+ Views

We can use the pagination technique to show large amounts of data in smaller chunks. For example, online stores like Amazon and Flipkart list millions of products. So, if they don’t use the pagination technique to show data, users need to scroll through the end of the web page to check the last product. Now, think how much scrolling is required to reach the last product in a total of millions of products. In the Pagination technique, we show a particular amount of data on a single page. For example, if we set the 100 as a page length, users ... Read More

OffsetWidth, clientWidth, scrollWidth and Height, respectively in CSS

Shubham Vora
Updated on 05-May-2023 16:31:39

5K+ Views

The first question that comes to mind after reading this tutorial's title is offsetWidth, clientWidth, and scrollWidth return the width of the HTML, but what is the difference between them? The difference between them is how much space they take on the web page. In this tutorial, we will learn about the different widths and different heights of HTML element. OffsetWidth, ClientWidth, ScrollWidth offsetWidth − It is the total width of the element, including the actual width, padding, border, and scrollbar in pixels. It doesn’t include the margin in the width. It is an outer width of an HTML ... Read More

Movie Web Application with ReactJS

Shubham Vora
Updated on 05-May-2023 16:29:50

608 Views

Nowadays, OTT platforms are becoming more popular, and people are buying subscriptions to various OTT platforms to watch movies, TV shows, or services. Maybe, you can also start any OTT application. In this tutorial, we will learn to create a movie web application using React JS. However, We will learn to write only the basic code of movie applications. If users want, they can start with the below code and make improvements to create an advanced version of the movie web application. Users should follow the steps below to start with the movie web application. Step 1 − In ... Read More

jQuery lose focus event

Shubham Vora
Updated on 05-May-2023 16:26:45

2K+ Views

The jQuery allows developers to write readable code than JavaScript. We can decrease the 10’s of lines of JavaScript code into the 3 to 4 lines using jQuery. Sometimes, we need to use jQuery to perform some operation whenever an element loses focus. We can use jQuery's focusOut() and blur() methods to trigger the loose focus event. Mainly, developers require to use it with the inputs, checkboxes, radio buttons, etc., to give the validation feedback to the users once a user completes the input. Generally, we use the focusout() and blur() methods with the focus() method, which focuses on the ... Read More

jQuery Jcrop Plugin

Shubham Vora
Updated on 05-May-2023 16:22:31

911 Views

Jquery contains various plugins providing different functionalities, like the NPM package, and Jcrop is one of them. The Jcrop plugin allows developers to add functionalities related to image cropping in the application. Sometimes, we require to allow users to crop images. For example, if we build an extension or application that takes a screenshot of a selected portion, we require users to choose the screen portion and take screenshots. The Jcrop plugin allows users to select an element and crop it. Also, we can use parameters with the Jcrop plugin to customize the cropping functionality. Syntax Users can follow the ... Read More

Advertisements