Found 2201 Articles for HTML

Create survey form in HTML and CSS

Souvik Chakraborty
Updated on 28-Jan-2025 10:44:22

220 Views

Introduction In this article, we will see the development of a form for feedback, surveys, and user data. The survey form should have an appealing outlook, as well as guarantee that the data collected is reliable and systematized. In this, we will see how to create a survey form in HTML and CSS that is fully functional as well as visually appealing. Overview Here, the goal of this article is to help you understand the process of making a survey form responsive and beautiful with the common data about the user that are name or nickname, e-mail, age, and position, ... Read More

9 Dot Menu using HTML and CSS

Souvik Chakraborty
Updated on 28-Jan-2025 12:08:09

178 Views

The 9 dots menu is a grid of nine clickable icons, which drops the menu to reveal other icons that are useful to the users when clicked. In this tutorial, we will learn how to create a 9 Dot Menu by using only HTML, CSS, and a little bit of JavaScript. Overview The 9 Dot Menu is simple to use, minimalist, and versatile, which is beneficial for various web projects. It is ideal when one wants a simple design but at the same time wants to achieve variety in a limited area. In this case, we utilize CSS to style ... Read More

Credit Card UI Design in HTML & CSS

Jugal
Updated on 23-Jan-2025 23:11:12

138 Views

To design Credit Card UI Design in HTML & CSS, we will begin with creating the structure of the Credit Card UI with the help of html. And we will design the html in the credit card with the help of css. In this article, our task is to design a credit card UI design in HTML and CSS. Steps to Create Credit Card UI Design To design a credit card UI in HTML and CSS, we will create two files: HTML Code for Structure CSS Code for Styling ... Read More

How to Make the CSS overflow: hidden Work on a <td> Element?

Shefali Jangid
Updated on 27-Nov-2024 12:47:27

252 Views

CSS overflow: hidden; property is used to hide the lengthy content based on the size of your element. Here in this article, we will see how you can use overflow: hidden; on element so we can keep the lengthy content hidden. If you did not set the size of your element then it will stretch and show you the whole content. Approaches to Make the CSS overflow: hidden Work Using table-layout: fixed Property Using text-overflow and white-space Properties Using table-layout: fixed Property By default, tables adjust ... Read More

How to Create an SVG Drop Shadow?

Pankaj Kumar Bind
Updated on 22-Nov-2024 10:34:44

424 Views

A drop shadow enhances appearance of an SVG by giving it a 3D effect or a sense of depth, SVG drop shadows can be created using SVG filters and box-shadow or filter property. SVG Filters: Provides fine-grained control over shadow properties. CSS box-shadow or filter: Applies shadows using simpler syntax. Approaches to Create an SVG Drop Shadow Using the Element in SVG Using CSS filter Using the Element in SVG This is a powerful approach ... Read More

How to Create a Blinking Effect with CSS3 Animations?

Pankaj Kumar Bind
Updated on 22-Nov-2024 10:57:14

424 Views

To create a blinking effect with CSS3 animations there are a lot of approaches. Blinking effects are commonly used to draw attention to specific elements on a webpage, such as warning messages, buttons, or text, CSS3 animations make it easy to implement such effects with clean and reusable code. Approaches to Create Blinking Effect Using @keyframes and animation Properties Using animation and visibility Using animation and opacity Using CSS Transitions (Limited Control) Using @keyframes and animation Properties This method will ... Read More

How to Make CSS Ellipsis Work on a Table Cell?

Pankaj Kumar Bind
Updated on 22-Nov-2024 10:38:44

235 Views

When dealing with long text in a table, ensuring that it doesn't overflow and ruin your layout is crucial, CSS provides solutions to add ellipses (...) to text that exceeds a cell's width, keeping your UI clean and readable, this article explores two approaches: using the display property and the table-layout property. Approaches to Make CSS Ellipsis Work on a Table Cell Using the display Property Using the table-layout Property Using the display Property The display property allows us to treat the table cell as a block or ... Read More

How to Remove Focus Around Buttons on Click?

Pankaj Kumar Bind
Updated on 14-Nov-2024 13:08:09

1K+ Views

When building web applications, you may notice that clicking on buttons often leaves an outline or "focus ring" around them. This can be helpful for accessibility, but sometimes it's not desirable for specific designs. In this article, we’ll explore several ways to remove the focus ring from buttons when they are clicked, without sacrificing accessibility for keyboard users. Approaches to Remove Focus Around Buttons on Click Using JavaScript addEventListener Method Using CSS Pseudo Class Using JavaScript addEventListener Method ... Read More

How to Make the Middle Item Stay Centered?

Pankaj Kumar Bind
Updated on 14-Nov-2024 09:47:55

1K+ Views

Centering the middle item in a layout while ensuring it doesn’t move if other items are removed is a common design challenge, this article explores ways to center the middle item using CSS techniques that maintain its position even if adjacent elements are absent. Using Flexbox with Absolute Centering Flexbox offers a straightforward way to center an item within a container. By setting the middle item to have margin property set to auto, it remains centered without depending on adjacent items. Example Code ... Read More

How to Make Flex Items Take the Content Width?

Pankaj Kumar Bind
Updated on 13-Nov-2024 11:58:02

1K+ Views

Flexbox is a powerful layout tool that allows us to align items within a container dynamically. However, sometimes you may want a flex item to take up only as much width as its content, rather than stretching to fill the available space within the container. In this article, we’ll go over different techniques to make specific items within a flex container take up only the space needed for their content, without stretching to fill the available space. Approaches to Make Flex Items Take the Content Width Using CSS align-self Property ... Read More

Advertisements