CSS Articles

Page 31 of 130

How to Create Wave Background using CSS?

Diksha Patro
Diksha Patro
Updated on 15-Mar-2026 5K+ Views

To create wave background using CSS is a popular technique used to add a unique and dynamic visual element to web pages. We will be understanding two different approaches to create wave background using CSS. In this article, we are having a blank webpage and our task is to create wave background using CSS. Approaches to Create Wave Background Here is a list of approaches to create wave background using CSS which we will be discussing in this article with stepwise explanation and complete example codes ? Wave Background Using SVG ...

Read More

How to Create a Wave Loader using CSS?

Diksha Patro
Diksha Patro
Updated on 15-Mar-2026 909 Views

In this article, we will be creating a Wave Loader using CSS. Wave loader is a loading animation with a wave-like effect. It is a standard way for signaling progress in online applications, and it may enhance the user experience by indicating that material is being loaded. Making a CSS wave loader is a basic technique that uses CSS animation and keyframes. You may design a dynamic and aesthetically beautiful wave loader that can be adjusted to meet your individual demands by setting the animation attributes and keyframes. Syntax @keyframes wave-animation { 0% ...

Read More

How to create a wave ball effect using CSS?

Diksha Patro
Diksha Patro
Updated on 15-Mar-2026 490 Views

In this article, we use CSS to create a wave ball effect that can offer a unique and visually attractive touch to any website or application. This effect can be used to make buttons, progress indicators, and other user interface elements stand out from the crowd. To achieve this effect, you will need to be familiar with several fundamental CSS properties such as border-radius, box-shadow, and animation. Syntax .wave-ball { width: value; height: value; border-radius: 50%; box-shadow: shadow-values; ...

Read More

How to create a Vertical Navigation Bar using HTML and CSS ?

Diksha Patro
Diksha Patro
Updated on 15-Mar-2026 6K+ Views

A vertical navigation bar is a UI component that displays navigation links in a vertical stack, typically positioned on the left or right side of a webpage. It helps users navigate through different sections or pages of a website efficiently. HTML provides the structure while CSS handles the styling and positioning. Syntax /* Basic vertical navigation structure */ nav { width: value; height: value; background-color: color; } nav ul { list-style-type: none; margin: 0; ...

Read More

How to create linear gradient background using CSS?

Shabaz Alam
Shabaz Alam
Updated on 15-Mar-2026 1K+ Views

Linear gradient background in CSS is a design technique used to create a smooth transition between two or more colors in a single element. It is defined using the CSS background-image property and the linear-gradient() function. Syntax selector { background: linear-gradient(direction, color1, color2, ...); } Linear Gradient Properties in CSS PropertyDescription directionSpecifies the direction of the gradient (to top, to right, 45deg, etc.) color-stopsColors used in the gradient and their position repeating-linear-gradientCreates a repeating gradient pattern background-sizeSpecifies the size of the gradient background background-positionSpecifies the position of the gradient ...

Read More

How to create gooey balls animation using HTML & CSS?

Shabaz Alam
Shabaz Alam
Updated on 15-Mar-2026 579 Views

Gooey balls animation is a visually appealing effect created using HTML and CSS that makes circular elements appear smooth, flowing, and squishy − like balls made of goo. This animation style uses CSS keyframes to specify property values at different points in the animation timeline, creating engaging visual effects for websites. Syntax @keyframes animation-name { 0% { transform: scale(1); } 50% { transform: scale(1.5); } 100% { transform: scale(1); } } .element { animation: animation-name duration timing-function iteration-count; } ...

Read More

How to create button hover animation effect using CSS?

Shabaz Alam
Shabaz Alam
Updated on 15-Mar-2026 2K+ Views

The hover animation effect in CSS refers to the change in appearance of an element when the mouse pointer is over it. We use CSS to create various animation effects on hover, such as scaling, fading, sliding, or rotating elements. Syntax selector:hover { property: value; transition: property duration ease-function; } Key Properties for Button Hover Animations transform − This property allows you to scale, rotate, or translate an element. opacity − This property sets the transparency level of an element, where 1 is fully visible ...

Read More

How to Play and Pause CSS Animations using CSS Custom Properties?

Shabaz Alam
Shabaz Alam
Updated on 15-Mar-2026 4K+ Views

In CSS, animation is an effective way to add some visual flair to the website. However, sometimes we want to have more control over when and how these animations play. Here, we will explore how to play and pause CSS animations using CSS custom properties. Before we go ahead, we should know that CSS animations can be created using keyframes or by transitioning between two or more states. Syntax @keyframes animation-name { /* define the animation steps */ } selector { animation-play-state: running | paused; } ...

Read More

How to make transition height from 0 to auto using CSS?

Shabaz Alam
Shabaz Alam
Updated on 15-Mar-2026 7K+ Views

Making a transition height from 0 to "auto" is a way to smoothly animate an element's height as it changes to fit its content. In web development, creating smooth and elegant transitions can make a website more attractive and provide a better user experience. However, creating a transition from a height of 0 to "auto" can be a bit tricky since CSS cannot directly animate to the "auto" value. Syntax transition: property duration timing-function delay; Where property is the CSS property to animate, duration is the time length, timing-function specifies the transition pace, and delay ...

Read More

How to Design Fade balls loader Animation using CSS?

Shabaz Alam
Shabaz Alam
Updated on 15-Mar-2026 566 Views

The CSS fade balls loader animation is a popular loading indicator that uses a series of circles or balls that fade in and fade out in sequence. This animation creates an engaging visual effect while content loads, keeping users informed about the loading progress. Syntax @keyframes fade { 0% { opacity: 0; transform: scale(0.3); } 50% { opacity: 1; } 100% { opacity: 0; transform: scale(1.5); } } .loader-element { animation: fade duration ease-in-out infinite; animation-delay: ...

Read More
Showing 301–310 of 1,299 articles
« Prev 1 29 30 31 32 33 130 Next »
Advertisements