AmitDiwan has Published 11365 Articles

How to create icon buttons with CSS?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 17:19:08

945 Views

To create Icon buttons with CSS, you need to set the icons on a web page. Here, we will consider the Font Awesome icon. To set such icons on a button, set the CDN for the icon under the element. Set the CDN for the icons To add the ... Read More

How to create Icon Bar with CSS?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 17:12:28

874 Views

To create Icon Bar with CSS, you need to set the icons. Here, we will consider the Font Awesome icon. To include such icons, set the CDN for the icon under the . We will create a horizontal icon bar and a vertical bar. Set the CDN for the icons ... Read More

How to create fading buttons with CSS?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 17:09:52

266 Views

To crate fading buttons on a web page, use the opacity property. To enable this feature on hovering the mouse cursor, use the :hover selector. To fade in on hover, set the opacity to 1 on hover when the actual button is set to opacity less than 1. This works ... Read More

How to create equal height columns with CSS?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 17:08:01

760 Views

Equal height columns can be created in a parent div on a web page. First, set the parent container as a table with the width 100%. Within that, create the columns and set the display property to table-cell. Let us see how to create equal height columns with HTML and ... Read More

How to create empty circles with CSS?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 17:06:00

582 Views

To create empty circle on a web page, use the border-radius property. To align multiple circles on a web page, set the display property to inline-block. Let us see how to create empty circles with HTML and CSS. Create a container for circles Set a div container for the multiple ... Read More

How to create different shapes with CSS?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 17:04:48

254 Views

Shapes can be easily created on a web page with CSS. Not only rectangle, square, or circle, but triangle can also be created. The key to create shapes are the border properties, such border, border-radius, etc. Create a circle In this example, we will create a circle using the border-radius ... Read More

How to create different dividers with CSS?

AmitDiwan

AmitDiwan

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

156 Views

A divider on a web page is separate styled for dividing sections. These sections appear horizontally on a web page. A dotted, dashed, double, etc. dividers can be easily created. It works like borders and the color of such dividers can easily change. To create a divider, use the ... Read More

How to create different device looks (smartphone, tablet and laptop) with CSS?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 16:31:49

569 Views

A look for a smartphone, mobile, or desktop view can be easily created with CSS. For our example, we are creating a mobile i.e., a smartphone looks and will also open a random website in it. We will create a mobile device like structure and use iframe to add the ... Read More

How to create custom select boxes with CSS and JavaScript?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 16:29:43

359 Views

A select box allows you to create a dropdown for users to select a specific value from a list. These generally appear when let’s say you want to a user to select a degree from a list of degrees, favourite sports from a list of popular sports, etc. Let us ... Read More

How to create custom checkboxes and radio buttons with CSS?

AmitDiwan

AmitDiwan

Updated on 14-Dec-2023 16:26:16

208 Views

The design of the default checkboxes and radio buttons can be easily changed with CSS. The initial, selected and hovered properties can also be set for the checkboxes and radio buttons. Custom checkbox The following is the code to create a custom checkbox. First, set the containers for the checkboxes. ... Read More

Advertisements