Found 8591 Articles for Front End Technology

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

Shubham Vora
Updated on 16-Sep-2024 12:56:36

6K+ Views

CSS :even and :odd psuedo classes are used to select or target the alternative child elements. CSS even and odd psuedo class is used with list items to create alternate style like text color, background which increases the readability. In this article, we are having an unordered list. We will be understanding use of :even and :odd pseudo-classes with list items. CSS odd Psuedo-Class CSS even Psuedo-Class CSS odd Psuedo-Class The :odd pseudo-class is used to select the HTML elements which are at odd positions. We can use the :odd ... Read More

Role of ViewPort in Visual Formatting Model

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

160 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

233 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

171 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

230 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

8K+ 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 09-Aug-2024 14:08:28

8K+ Views

In this article, we will be understanding the difference between CSS offsetWidth, clientWidth, scrollWidth and difference between offsetHeight, clientHeight, scrollHeight since they return width and height of HTML element respectively. CSS offsetWidth, clientWidth and scrollWidth offsetWidth: CSS offsetWidth property 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 element. ... Read More

Movie Web Application with ReactJS

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

884 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

4K+ 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

1K+ 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