Articles on Trending Technologies

Technical articles with clear explanations and examples

CSS3 Multi-Column rule-style Property

Priya Pallavi
Priya Pallavi
Updated on 15-Mar-2026 94 Views

The CSS column-rule-style property is used to specify the style of the rule (line) that appears between columns in a multi-column layout. This property helps create visual separation between columns. Syntax selector { column-rule-style: value; } Possible Values ValueDescription noneNo rule (default) solidA solid line dashedA dashed line dottedA dotted line doubleA double line grooveA 3D grooved line ridgeA 3D ridged line insetA 3D inset line outsetA 3D outset line Example The following example demonstrates the column-rule-style property with a solid line between columns − ...

Read More

CSS3 Multi-Column rule-width Property

Priya Pallavi
Priya Pallavi
Updated on 15-Mar-2026 185 Views

The CSS column-rule-width property is used to specify the width of the rule (line) that appears between columns in a multi-column layout. This property works in conjunction with column-rule-style and column-rule-color to create visual separators between columns. Syntax selector { column-rule-width: value; } Possible Values ValueDescription thinA thin rule (typically 1px) mediumA medium rule (typically 3px) - default value thickA thick rule (typically 5px) lengthA specific width in px, em, rem, etc. Example: Using column-rule-width Property The following example demonstrates the column-rule-width property with a 5px ...

Read More

Matrix Transform in another direction with CSS

radhakrishna
radhakrishna
Updated on 15-Mar-2026 150 Views

The CSS matrix() transform function allows you to apply complex 2D transformations including scaling, rotating, skewing, and translating elements in different directions. By adjusting the matrix parameters, you can create various transformation effects. Syntax transform: matrix(a, b, c, d, tx, ty); Where: a and d − scaling on x and y axis b and c − skewing on x and y axis tx and ty − translation on x and y axis Example: Matrix Transform with Skew and Translation The following example demonstrates how to use matrix transform to skew and ...

Read More

Product of the alternate nodes of linked list

Sunidhi Bansal
Sunidhi Bansal
Updated on 15-Mar-2026 284 Views

Given a linked list with n nodes, the task is to find the product of alternate nodes. The program calculates the product of nodes at positions 1, 3, 5, etc. (starting from position 1) without modifying the linked list structure. Syntax void calculateAlternateProduct(); struct node { int data; struct node *next; }; Example Input: 10 20 30 40 50 60 Output: 15000 In the above example, starting from the first node (10), alternate nodes are 10, 30, 50 and their product is 10 ...

Read More

Rotate div to -20 degrees angle with CSS

Ankitha Reddy
Ankitha Reddy
Updated on 15-Mar-2026 717 Views

The CSS transform property with rotate() function allows you to rotate an element by a specified angle. To rotate a div to -20 degrees, you apply a negative rotation value which rotates the element clockwise. Syntax selector { transform: rotate(angle); } Example The following example demonstrates how to rotate a div to -20 degrees angle − div { width: 300px; height: 100px; ...

Read More

2D transforms in CSS3

Arjun Thakur
Arjun Thakur
Updated on 15-Mar-2026 132 Views

CSS 2D transforms allow you to modify the appearance of elements by translating, rotating, scaling, and skewing them in 2D space without affecting document flow. Syntax selector { transform: function(value); } Transform Functions FunctionDescription translate(x, y)Moves element along x and y axes translateX(n)Moves element along x-axis only translateY(n)Moves element along y-axis only scale(x, y)Changes element size (width and height) scaleX(n)Changes element width only scaleY(n)Changes element height only rotate(angle)Rotates element by specified angle skewX(angle)Skews element along x-axis skewY(angle)Skews element along y-axis matrix(a, b, c, d, e, f)Combines all transforms using ...

Read More

C Program to find IP Address, Subnet Mask & Default Gateway

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

C programming language can be used to find the details of the Internet connection of the system. Now, let's learn about the basic terms that we need in this problem. IP Address − IP Address stands for Internet Protocol address. An IP address is a fixed numerical identification number that is associated with each device. IP address allows communication of your device using IP address over the internet. Subnet Mask − A 32-bit component of the IP address. The subnet mask differentiates the network component of IP address into two parts. One being network address and other being ...

Read More

C Program to find direction of growth of stack

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

A stack is a data structure that stores elements in memory. The stack can grow in two directions: upward (toward higher memory addresses) or downward (toward lower memory addresses). This direction depends on the system architecture and compiler implementation. When functions are called, local variables are allocated on the stack. By comparing the memory addresses of local variables in different function calls, we can determine the stack's growth direction. Syntax void function_name(int *address_pointer); // Compare addresses using pointer arithmetic if (address1 < address2) { /* stack direction logic */ } Algorithm Step ...

Read More

Break the line and wrap onto next line with CSS

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

The CSS word-wrap property allows you to break long words and wrap them onto the next line when they exceed their container's width. This is particularly useful for preventing text overflow in fixed-width containers. Syntax selector { word-wrap: value; } Possible Values ValueDescription normalDefault. Break words only at normal word break points break-wordAllows unbreakable words to be broken at arbitrary points Example: Breaking Long Words The following example demonstrates how to break long words that exceed the container width − ...

Read More

C program to compare two files and report mismatches

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

In C programming, we can access files and read their content to perform various operations. Comparing two files character by character helps identify differences between similar documents. This program compares two text files and reports any mismatches found, including the line number and position where the first difference occurs. Syntax FILE *fopen(const char *filename, const char *mode); int getc(FILE *stream); int fclose(FILE *stream); Algorithm Step 1: Open both files with read mode Step 2: Read characters one by one from both files simultaneously Step 3: Compare characters and track line numbers and ...

Read More
Showing 21331–21340 of 61,297 articles
Advertisements