Articles on Trending Technologies

Technical articles with clear explanations and examples

Set all the background image properties in one section with CSS

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

The CSS background property is used to set all the background image properties in one section. This shorthand property allows you to define multiple background-related properties simultaneously, including image, position, repeat, and attachment. Syntax selector { background: color image repeat attachment position; } Possible Values PropertyDescription colorBackground color (optional) imageBackground image URL repeatHow the image repeats (repeat, no-repeat, repeat-x, repeat-y) attachmentImage attachment (scroll, fixed) positionImage position (top, center, bottom, left, right) Example The following example demonstrates setting multiple background properties using the shorthand − ...

Read More

C Program for Rat in a Maze - Backtracking-2?

sudhir sharma
sudhir sharma
Updated on 15-Mar-2026 3K+ Views

Rat in a maze is a popular problem that utilizes backtracking algorithm. In this problem, we have a 2D matrix representing a maze where some cells are blocked and we need to find a path from source to destination. A maze is a 2D matrix in which some cells are blocked. One of the cells is the source cell, from where we have to start, and another is the destination where we have to reach. We must find a path from source to destination without moving into any blocked cells. Input Maze: ...

Read More

Give the object a sine wave distortion to make it look wave with CSS

Chandu yadav
Chandu yadav
Updated on 15-Mar-2026 611 Views

The CSS wave effect uses Internet Explorer's proprietary filter to give objects a sine wave distortion, making them appear wavy. This filter was specific to older IE browsers and is not supported in modern web standards. Syntax selector { filter: Wave(Add=value, Freq=value, LightStrength=value, Phase=value, Strength=value); } Parameters ParameterDescription AddA value of 1 adds the original image to the waved image, 0 does not FreqThe number of waves LightStrengthThe strength of the light on the wave (from 0 to 100) PhaseAt what degree the sine wave should start (from 0 ...

Read More

CSS border-bottom-left-radius property

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

The CSS border-bottom-left-radius property is used to set the radius of the bottom-left corner of an element's border. This property allows you to create rounded corners specifically for the bottom-left corner while keeping other corners sharp or applying different radii. Syntax selector { border-bottom-left-radius: value; } Possible Values ValueDescription lengthDefines the radius in px, em, rem, etc. %Defines the radius as a percentage of the element's dimensions initialSets the property to its default value (0) inheritInherits the value from the parent element Example: Setting Bottom-Left Corner Radius ...

Read More

Fade Out Right Animation Effect with CSS

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

The CSS Fade Out Right Animation Effect creates a smooth transition where an element gradually becomes transparent while moving to the right until it completely disappears. This effect combines opacity changes with horizontal translation using CSS keyframes. Syntax @keyframes fadeOutRight { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: ...

Read More

C Program to Check if count of divisors is even or odd?

sudhir sharma
sudhir sharma
Updated on 15-Mar-2026 547 Views

Given a number “n” as an input, this program finds whether the total number of divisors of n is even or odd. A divisor of a number is any integer that divides the number without leaving a remainder. An even number is an integer that is exactly divisible by 2. Example: 0, 8, -24 An odd number is an integer that is not exactly divisible by 2. Example: 1, 7, -11, 15 Syntax // Count divisors and check if count is even or odd for (int i = 1; i

Read More

C Program for array rotation?

sudhir sharma
sudhir sharma
Updated on 15-Mar-2026 4K+ Views

Array rotation is a fundamental operation where elements of an array are shifted to the left or right by a specified number of positions. In left rotation, elements move left and the leftmost elements wrap around to the end. Left Rotation by 3 positions Original: 1 2 3 4 ...

Read More

CSS border-bottom-right-radius property

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

The CSS border-bottom-right-radius property is used to set the radius of the bottom-right corner of an element. This property allows you to create rounded corners specifically for the bottom-right corner, independent of other corners. Syntax selector { border-bottom-right-radius: value; } Possible Values ValueDescription lengthSpecifies the radius in px, em, rem, etc. %Specifies the radius as a percentage of the element's dimensions initialSets the property to its default value inheritInherits the property from the parent element Example The following example demonstrates how to set a specific radius ...

Read More

CSS border-top-right-radius property

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

The CSS border-top-right-radius property is used to set the radius of the top-right corner of an element. This property allows you to create rounded corners specifically for the top-right corner, giving you precise control over individual corner styling. Syntax selector { border-top-right-radius: value; } Possible Values ValueDescription lengthDefines the radius in px, em, rem, etc. %Defines the radius as a percentage of the element's dimensions initialSets the property to its default value inheritInherits the property from its parent element Example: Basic Top-Right Corner Radius The following ...

Read More

C Program for Pancake sorting?

sudhir sharma
sudhir sharma
Updated on 15-Mar-2026 350 Views

Pancake sorting is a variation of the sorting problem where the only allowed operation is to reverse elements of some prefix of the sequence. It's named after the problem of sorting a stack of pancakes using a spatula that can flip all pancakes above any insertion point. Syntax void pancakeSort(int arr[], int n); void flip(int arr[], int i); How Pancake Sort Works The algorithm works by repeatedly finding the maximum element in the unsorted portion and moving it to its correct position using at most two flip operations − Step 1: Find ...

Read More
Showing 21481–21490 of 61,297 articles
Advertisements