Articles on Trending Technologies

Technical articles with clear explanations and examples

CSS cue property

karthikeya Boyini
karthikeya Boyini
Updated on 15-Mar-2026 266 Views

The CSS cue property is a shorthand for setting cue-before and cue-after properties. It allows you to specify audio cues that play before and after an element's content when using speech synthesis or screen readers. Syntax selector { cue: cue-before cue-after; /* or */ cue: single-value; } Possible Values ValueDescription url()Specifies an audio file to play as a cue noneNo audio cue is played (default) inheritInherits the value from parent element Example: Setting Audio Cues The following example ...

Read More

Binary Search using pthread in C Program?

Arnab Chakraborty
Arnab Chakraborty
Updated on 15-Mar-2026 687 Views

Binary search is one of the most efficient searching algorithms for sorted arrays. It works by repeatedly dividing the search space in half. In this article, we'll explore how to implement binary search using multiple threads (pthread) in C to potentially improve performance by parallelizing the search across different segments of the array. Syntax #include int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine) (void *), void *arg); int pthread_join(pthread_t thread, void **retval); Example: Multithreaded Binary ...

Read More

CSS cue-before Property

George John
George John
Updated on 15-Mar-2026 118 Views

The CSS cue-before property specifies a sound to be played before speaking an element's content in speech synthesis applications. This property is primarily used for audio cues in screen readers and voice browsers. Syntax selector { cue-before: value; } Possible Values ValueDescription url()Specifies the URL of a sound file to be played noneNo sound is played (default value) Example The following example demonstrates how to use the cue-before property to add audio cues − h1 { ...

Read More

Binary representation of next greater number with same number of 1's and 0's in C Program?

Arnab Chakraborty
Arnab Chakraborty
Updated on 15-Mar-2026 392 Views

In C programming, finding the binary representation of the next greater number with the same number of 1's and 0's is a classic problem that can be solved using a next-permutation approach. Given a binary string, we need to find the smallest binary number that is greater than the given number and contains exactly the same count of 0's and 1's. Syntax char* nextBinary(char* bin); Algorithm The algorithm works in two main steps − Find the rightmost '01' pattern and swap it to '10' Rearrange all bits after the swap position to ...

Read More

Flip Animation Effect with CSS

Nancy Den
Nancy Den
Updated on 15-Mar-2026 367 Views

The CSS flip animation effect creates a 3D rotation that makes an element appear to turn over or flip around its Y-axis. This effect uses CSS transforms and keyframes to create smooth, eye-catching animations. Syntax selector { animation: flip duration timing-function; transform: perspective(distance) rotateY(angle); } Example The following example demonstrates a flip animation effect that rotates an element 360 degrees with perspective − .flip-container { width: 200px; ...

Read More

BFS using vectors & queue as per the algorithm of CLRS in C Program?

Arnab Chakraborty
Arnab Chakraborty
Updated on 15-Mar-2026 500 Views

In graph theory, BFS (Breadth-First Search) is a fundamental traversal algorithm described in CLRS (Introduction to Algorithms). It explores vertices level by level using a queue data structure and maintains vertex states using colors. Syntax void BFS(int graph[][MAX_VERTICES], int vertices, int source); Algorithm The CLRS BFS algorithm uses the following pseudocode − BFS(G, s) - begin for each vertex u in G.V - {s}, do u.color := white u.d := infinity ...

Read More

Flash Animation Effect with CSS

Samual Sam
Samual Sam
Updated on 15-Mar-2026 504 Views

The CSS flash animation effect creates a sudden brief burst of bright light by rapidly alternating an element's opacity between visible and invisible states. This creates a strobe-like flashing effect that draws attention to specific elements. Syntax @keyframes flash { 0%, 50%, 100% { opacity: 1; } 25%, 75% { opacity: 0; } } .flash { animation: flash duration timing-function ...

Read More

Betrothed numbers in C Program?

Arnab Chakraborty
Arnab Chakraborty
Updated on 15-Mar-2026 686 Views

Betrothed numbers are a special pair of numbers where the sum of proper divisors of one number equals one more than the other number. These mathematical curiosities demonstrate interesting relationships between divisibility and number theory. Syntax int sumOfProperDivisors(int n); void findBetrothedPairs(int limit); Understanding Betrothed Numbers For example, the pair (48, 75) are betrothed numbers − Proper divisors of 48: {1, 2, 3, 4, 6, 8, 12, 16, 24}, sum = 76 Proper divisors of 75: {1, 3, 5, 15, 25}, sum = 49 Since 76 = 75 + 1 and 49 = ...

Read More

Fade Out Up Big Animation Effect with CSS

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 15-Mar-2026 164 Views

The CSS Fade Out Up Big animation creates a dramatic exit effect where an element fades out while moving upward by a large distance. This animation is perfect for removing elements with an impactful visual transition. Syntax @keyframes fadeOutUpBig { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-2000px); ...

Read More

Values to set page size in CSS

Daniol Thomas
Daniol Thomas
Updated on 15-Mar-2026 2K+ Views

The CSS @page rule's size property controls the dimensions and orientation of printed pages. There are four values that can be used to set page size − auto − The page box will be set to the size and orientation of the target sheet. landscape − Overrides the target's orientation. The page box is the same size as the target, and the longer sides are horizontal. portrait − Overrides the target's orientation. The page box is the same size as the target, and the shorter sides are horizontal. length − Length values for the 'size' property create an ...

Read More
Showing 21441–21450 of 61,298 articles
Advertisements