AmitDiwan has Published 11365 Articles

How to create alert messages with CSS?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 13:46:22

888 Views

The alert message can be seen on web pages. As an example, we can consider a message while deleted an account on a social media website. Even coupons are provided in the form of alert message on some websites. Other examples can be “Your order is confirmed” or even ““Your ... Read More

How to create a zebra striped table with CSS?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 12:40:49

440 Views

To create a table on a web page, we use the element. It allows us to set the table row using the element. Within that, the elements are used to place the data. A table can also be striped. Such striped tables have a different look for ... Read More

How to create a vertical menu with CSS?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 12:32:23

660 Views

Vertical menus on a web page are mainly placed on the left or the right. These left or right menus are vertically aligned to make it easier for users to navigate or click them. To create a vertical menu, set a container and within that set the menu links. The ... Read More

How to create a vertical line with CSS?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 12:30:15

1K+ Views

We can easily create a vertical line on a web page using the border-left property. The border width, style and color needs to be also set for the line to be visible on the web page. Create a div First, create a container for the line to appear − ... Read More

How to Create a Triangle Using CSS clip-path?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 12:27:20

461 Views

On a web page, you can create a triangle easily. Use the clip-path property or even the child selector concept can be used. The clip-path allows a user to clip an element to a shape. This shape is to be set polygon to create a triangle. Syntax The syntax of ... Read More

How to create a tree view with CSS and JavaScript?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 12:25:16

1K+ Views

On a web page, if you want to represent a folder-view, like in case of web hosting filed, then create a tree view. The root or the home are always clickable in a tree view. We set it clickable using the cursor property with the value pointer. The arrow key ... Read More

How to create a tabbed image gallery with CSS and JavaScript?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 12:23:38

599 Views

Image gallery on a web page can be displayed in various forms. One of them is a tabbed image gallery. On clicking the image thumbnail from the image gallery, the image expands. Let us see how to create a tabbed image gallery with HTML and CSS. Set the images for ... Read More

How to create a subnavigation menu with CSS?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 12:20:35

1K+ Views

A subnavigation menu is a menu that appear just below the main menu. The menu is created using the element on a web page. Consider it as a secondary menu or a submenu. The submenus appear on mouse hovering any of the menus from the main menu. This is ... Read More

How to create a sticky image with CSS?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 12:15:51

2K+ Views

On a web page, you must have seen a stick menu positioned on the top. With that, a sticky element can also be placed on a web page. Also, using the position property, we can also make an image sticky that would stick even when the web page is scrolled. ... Read More

How to create a sticky element with CSS?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 12:13:46

203 Views

On a web page, we can easily create an element and position it sticky i.e., that specific element will remain stick even when the web page is scrolled. This is achieved using the position property with the value sticky. Create a div for the sticky element Set a parent div ... Read More

Advertisements