Articles on Trending Technologies

Technical articles with clear explanations and examples

What are the classes of breadcrumb in Materialize CSS?

Tanmay Chandhok
Tanmay Chandhok
Updated on 15-Mar-2026 276 Views

Materialize CSS breadcrumbs are navigation components that help users understand their current location within a website's hierarchy. The framework provides specific CSS classes to create clean, responsive breadcrumb navigation with material design principles. Syntax First Level Second Level Current Page Classes of Breadcrumb in Materialize CSS The main CSS classes used to create breadcrumbs in Materialize CSS are − breadcrumb class − Applied to anchor ...

Read More

How to create sliding text reveal animation using HTML and CSS?

Tanmay Chandhok
Tanmay Chandhok
Updated on 15-Mar-2026 4K+ Views

Sliding text reveal animations create engaging visual effects that bring text to life on web pages. These animations typically reveal text by sliding it into view from different directions, creating a smooth and professional appearance that enhances user experience. Syntax @keyframes animationName { 0% { /* initial state */ } 50% { /* intermediate state */ } 100% { /* final state */ } } selector { animation: animationName duration timing-function; } Method 1: Simple Sliding Text Reveal ...

Read More

A text- portrait using CSS?

Tanmay Chandhok
Tanmay Chandhok
Updated on 15-Mar-2026 752 Views

Creating a text portrait using CSS is an interesting visual effect where text is clipped to form the shape of an image. This technique uses CSS background-clip property to make text appear as if it's cut from an image, creating an artistic text portrait effect. Syntax selector { background: url('image-path'); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-size: cover; background-position: center; } Key CSS Properties Used PropertyPurpose -webkit-background-clip: textClips the background to the text shape -webkit-text-fill-color: ...

Read More

How to style every element that have adjacent item right before it?

Tanmay Chandhok
Tanmay Chandhok
Updated on 15-Mar-2026 195 Views

The CSS adjacent sibling selector allows you to style elements that come immediately after another element. This selector uses the plus (+) symbol to target elements that share the same parent and are positioned directly next to each other in the HTML structure. Syntax former_element + target_element { /* CSS properties */ } The adjacent sibling selector will only select the first element that immediately follows the specified element. Both elements must share the same parent element. Example: Basic Adjacent Sibling Selection The following example demonstrates how to style ...

Read More

How to scroll to a particular element or skip the content in CSS?

Tanmay Chandhok
Tanmay Chandhok
Updated on 15-Mar-2026 555 Views

When visiting websites, users often need to skip irrelevant content and jump directly to sections they're interested in. CSS provides several methods to enable smooth scrolling to specific elements on the same page, improving user navigation and experience. Syntax /* CSS scroll behavior */ html { scroll-behavior: smooth; } /* Target pseudo-class for highlighting */ section:target { /* styles for targeted element */ } Method 1: Using CSS scroll-behavior Property The scroll-behavior property enables smooth scrolling when navigating to anchor links. This method works with ...

Read More

How to set the opacity level for a division element using CSS?

Gungi Mahesh
Gungi Mahesh
Updated on 15-Mar-2026 301 Views

The CSS opacity property is used to set the transparency level of HTML elements. The opacity value ranges from 0 (completely transparent) to 1 (completely opaque), allowing you to create various visual effects and overlays. Syntax selector { opacity: value; } Possible Values ValueDescription 0Completely transparent (invisible) 0.550% transparent 1Completely opaque (default) initialSets to default value inheritInherits from parent element Example: Setting Opacity with CSS In this example, we set different opacity levels for division elements using CSS − ...

Read More

How to create responsive stacked card hover effect using CSS?

Riya Kumari
Riya Kumari
Updated on 15-Mar-2026 1K+ Views

Card-style design is better than others in terms of functionality and aesthetics. To suit the needs of different screen sizes, the card design can assist users focus on specific content very easily, as well as enabling designers to put up the content reasonably and clearly throughout design. The card design is incredibly versatile and may be used for practically any purpose in any sector. In this article, we will use HTML and CSS to construct a responsive stacked cards hover effect. Syntax .card::before, .card::after { content: ""; position: ...

Read More

How to create Shooting Star Animation effect using CSS?

Riya Kumari
Riya Kumari
Updated on 15-Mar-2026 3K+ Views

Shooting stars create a mesmerizing visual effect that simulates meteors streaking across a night sky. This CSS animation technique is perfect for creating engaging backgrounds, loading screens, or atmospheric effects on dark-themed websites. In this article, we will create a shooting star animation effect using CSS properties like transform, animation, :nth-child selectors, and ::before pseudo-elements to achieve realistic meteor trails. Syntax .shooting-star { animation: shoot duration timing-function iteration-count; transform: rotate(angle) translateX(distance); } @keyframes shoot { 0% { transform: rotate(angle) translateX(0); opacity: 1; } ...

Read More

How to eliminate close button from jQuery UI dialog box using CSS?

Riya Kumari
Riya Kumari
Updated on 15-Mar-2026 2K+ Views

The CSS display: none property can be used to eliminate the close button from jQuery UI dialog boxes. This is useful when you want to force users to interact with the dialog content instead of simply closing it. Syntax .ui-dialog-titlebar-close { display: none; } jQuery UI Dialog Box Overview The jQuery UI dialog() method creates a modal dialog window that floats above the page content. By default, it includes a close button (×) in the title bar that allows users to close the dialog. Basic Dialog Syntax ...

Read More

How to eliminate blue borders around linked images using CSS?

Riya Kumari
Riya Kumari
Updated on 15-Mar-2026 673 Views

When images are used as hyperlinks, older browsers may display a default blue border around them, similar to how hyperlinked text appears underlined in blue. This article explains how to eliminate these unwanted borders using CSS. Syntax a img { border: none; } What are Linked Images? Linked images are images wrapped inside anchor () tags to create clickable hyperlinks. In older browsers like Internet Explorer 6-8, these images automatically receive a blue border to indicate they are clickable links. Method 1: Removing Borders Completely The most common ...

Read More
Showing 19941–19950 of 61,297 articles
Advertisements