Articles on Trending Technologies

Technical articles with clear explanations and examples

Moving left animation with keyframes using CSS3

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

CSS keyframes allow you to create smooth animations by defining specific styles at different points during the animation sequence. The following example demonstrates how to create a moving left animation where text slides in from the right side of the screen. Syntax @keyframes animation-name { from { /* starting styles */ } to { /* ending styles */ } } /* Or with percentages */ @keyframes animation-name { 0% { /* starting styles */ } 50% { /* middle styles ...

Read More

Program for Identity Matrix in C

Sunidhi Bansal
Sunidhi Bansal
Updated on 15-Mar-2026 2K+ Views

Given a square matrix M[r][c] where 'r' is some number of rows and 'c' are columns such that r = c, we have to check that 'M' is identity matrix or not. Identity Matrix Identity matrix is also known as Unit matrix of size nxn square matrix where diagonal elements will only have integer value one and non diagonal elements will only have integer value as 0. Like in the given Example below − I₁ = [1] I₂ = ...

Read More

Example of key frames with left animation using CSS3

mkotla
mkotla
Updated on 15-Mar-2026 257 Views

The CSS @keyframes rule allows you to create smooth animations by defining the intermediate steps between the start and end of an animation. This example demonstrates a left-sliding animation where an element moves from right to left across the screen. Syntax @keyframes animation-name { from { /* starting CSS properties */ } to { /* ending CSS properties */ } } selector { ...

Read More

Program to Convert Centimeter to Feet and Inches in C

Sunidhi Bansal
Sunidhi Bansal
Updated on 15-Mar-2026 2K+ Views

Given with the length in centimeters as an input, the task is to convert the given length into feet and inches using C programming. We can use length conversion formulas for this − 1 feet = 30.48 cm 1 inch = 2.54 cm Syntax double inches = centimeters * 0.3937; double feet = centimeters * 0.0328; Algorithm Start Step 1 → Declare function to perform conversion double convert(int centimeter) set double inch = 0.3937 * centimeter ...

Read More

Define skew transforms along with x axis using CSS

Nikitha N
Nikitha N
Updated on 15-Mar-2026 324 Views

The CSS skewX() transform function distorts an element by skewing it along the x-axis (horizontally). This creates a slanted effect where the element appears tilted to the left or right while maintaining its height. Syntax transform: skewX(angle); Where angle is specified in degrees (deg) or radians (rad). Positive values skew the element to the left, while negative values skew it to the right. Example: Skewing Element Along X-Axis The following example demonstrates how to apply a skew transform along the x-axis − div ...

Read More

Program to Calculate the Perimeter of a Decagon in C program

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

A decagon is a polygon with 10 sides and 10 vertices. In a regular decagon, all sides are equal in length and each internal angle measures 144 degrees. The perimeter of any polygon is the sum of all its side lengths. V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 ...

Read More

Rotate the element based on an angle using CSS

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

The CSS transform: rotate() property is used to rotate an element by a specified angle. The rotation is applied around the element's center point by default. Syntax selector { transform: rotate(angle); } Possible Values ValueDescription degDegrees (0deg to 360deg) radRadians (0rad to 6.28rad) turnTurns (0.5turn = 180deg) Example: Basic Element Rotation The following example demonstrates how to rotate an element by 20 degrees − .box { width: 300px; ...

Read More

Program to calculate the Area and Perimeter of Incircle of an Equilateral TrianglenWhat is Equilateral Triangle in C?

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

In C programming, calculating the area and perimeter of an incircle (inscribed circle) of an equilateral triangle involves using specific mathematical formulas. The incircle is the largest circle that can fit inside the triangle, touching all three sides. What is an Equilateral Triangle? An equilateral triangle has three equal sides and three equal interior angles of 60° each. It is also known as a regular triangle because it's a regular polygon. Properties of equilateral triangle are − 3 sides of equal length Interior angles of same degree which is 60° Incircle An ...

Read More

Change the height of element using CSS

varma
varma
Updated on 15-Mar-2026 266 Views

The CSS height property is used to set the height of an element. You can also use the scaleY() transform function to scale the height proportionally without changing the actual height value in the document flow. Syntax /* Using height property */ selector { height: value; } /* Using scaleY() transform */ selector { transform: scaleY(factor); } Method 1: Using Height Property The most direct way to change element height is using the height property − ...

Read More

Program for EMI Calculator in C program

Sunidhi Bansal
Sunidhi Bansal
Updated on 15-Mar-2026 1K+ Views

EMI (Equated Monthly Installment) is a fixed payment amount made by a borrower to a lender at a specified date each month. An EMI calculator helps determine the monthly payment amount based on the loan principal, interest rate, and tenure. Syntax EMI = (P * R * (1 + R)^T) / (((1 + R)^T) - 1) Where: P − Principal loan amount R − Monthly interest rate (annual rate / 12 / 100) T − Total number of months (years * 12) Example: EMI Calculator Implementation The following program calculates the ...

Read More
Showing 21321–21330 of 61,299 articles
Advertisements