Create a Product Card with CSS

AmitDiwan
Updated on 08-Dec-2023 15:57:00

1K+ Views

On an E-commerce website, you must have seen product cards for specific products. It includes the product name, image, price, any discount, etc. On a web page, we can easily create a product card with CSS. With that, the Buy Now or Add to Cart button is also placed on this card so it’s easier for users to directly buy. Set the div for the card Under the div for the product card, set the product image and the product name as a heading. Rest, place the product details and price in the . Also, the buy button is set ... Read More

Create a Preloader with CSS

AmitDiwan
Updated on 08-Dec-2023 15:35:37

336 Views

A preloader as the name suggests loads when the web page is loaded. Consider it as a loading page or a loading screen before the content on the web page is visible. With CSS, we can easily create a preloader and can also style it using the border properties. The animation for the loader is set with keyframes. Style the loader To style the loader, the border properties are used. The height and width are also set − .loader { border: 16px double #ffee00; border-radius: 50%; border-top: 16px solid #7434db; ... Read More

Create a Popup Chat Window with CSS and JavaScript

AmitDiwan
Updated on 08-Dec-2023 15:29:45

4K+ Views

On a website, in the bottom-right, you must have seen a popup chat windows. Can be mostly seen on a website hosting website. This allows a user to directly ask sales questions before buying the product. Such popup chat window can be easily created on a web page with CSS. Let us see how. Create the chat button First, create a button using the element − Chat Position the chat button To position the chat button, use the position property with the value fixed. The right and bottom properties are used to position and place the button on bottom-right − .openChatBtn { background-color: ... Read More

Create a Pill Navigation Menu with CSS

AmitDiwan
Updated on 08-Dec-2023 15:24:53

1K+ Views

The Pill navigation menu is used for navigation and enhances user experience. The navigation items are set within it. The element is used to create a menu and works the same for pill navigation menu as well. Let us see how to create a pill navigation menu on a web page. Create a pill navigation menu First, we will create a menu using the element. The links are set using the element − Home Login Register Contact Us More Info ... Read More

Create Password Validation Form with CSS and JavaScript

AmitDiwan
Updated on 08-Dec-2023 15:20:47

1K+ Views

On a registration page, you must have seen an input filed to set the password. On entering the password, the validation system suggests you how to construct a password. For example, a password should have at least a number, character, it should be minimum 8 characters. In this tutorial, we will see how to set the same password validation form on a web page. On typing to set the password the validation system will suggest the correct suggestions. Let us see how. Create a form The element is used to create a form on a web page. Two ... Read More

Create Parallax Scrolling Effect in CSS

AmitDiwan
Updated on 08-Dec-2023 15:15:06

273 Views

By specifying different speeds for background and foreground content, we can create a parallax scrolling effect using CSS. On scrolling up and down, you can easily notice the difference, Mostly, you can find such effect on the home page of a website. Set the image First, place and image using the background-image property. With the url, the link of the background image is sourced − background-image: url("https://www.tutorialspoint.com/static/images/home/coding-groundhero.svg"); Set the height You need to set a minimum height using the min-height property − min-height: 500px; Create the parallax scrolling effect The parallax scrolling effect can be set ... Read More

Create Pagination with CSS

AmitDiwan
Updated on 08-Dec-2023 15:11:26

254 Views

When you give page numbers to each page of a book, it is called pagination. On a website, pagination allows dividing pages and is a series of interconnect pages. It divides and sets ordinal number pf pages. For example, the first 1, 2, 3, 4, 5 pages links are visible on a web page to make it easier for users to navigate related content. Let us see how to create a pagination on a web page with the previous and next links as well. Create links for pagination The links are set using the element. A div is set ... Read More

Create Navigation Menu with Input Field

AmitDiwan
Updated on 08-Dec-2023 15:05:10

537 Views

On a web page, you may need to place an input field on a navigation menu. Such input field can be used as a search box for the users to search anything on the website. To place the search input field on the right, use the float CSS property and set it to the right value. Create a navigation menu The element is used to create a menu on a web page. The menu links are set using the element − Home Login Register Contact Us More Info ... Read More

Differences Between Abstract Class and Interface in Java

Mahesh Parahar
Updated on 08-Dec-2023 10:45:00

9K+ Views

In Java, abstraction is achieved using Abstract classes and interfaces. Both contains abstract methods which a child class or implementing class has to implement. Following are the important differences between abstract class and an interface. Sr. No. Key Abstract Class Interface 1 Supported Methods Abstract class can have both an abstract as well as concrete methods. Interface can have only abstract methods. Java 8 onwards, it can have default as well as static methods. 2 Multiple Inheritance Multiple Inheritance is not supported. Interface supports Multiple Inheritance. 3 Supported Variables final, non-final, static and non-static variables supported. Only static and final variables are permitted. 4 Implementation Abstract class can implement an interface. Interface can not implement an interface, it can extend ... Read More

Full Form of PO

Shirjeel Yunus
Updated on 07-Dec-2023 14:27:38

203 Views

What is PO? PO can be expanded as a Post Office and Probationary Officer. In this article, we will discuss about Post Office. The post office is also known as the Department of Posts and has been the backbone of India as it helps in the growth of social and economic development. It performs many tasks like mail delivery, small savings deposits, life insurance under postal life cover, and a lot more services. Currently, there are more than 155, 000 post offices all over India. History of PO Post Office was established in 1854 but it was started as Company ... Read More

Advertisements