Lakshmi Srinivas has Published 287 Articles

What is a page box in CSS?

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 16-Mar-2020 07:14:39

212 Views

You can specify the dimensions, orientation, margins, etc., of a page box within an @page rule. The dimensions of the page box are set with the 'size' property. The dimensions of the page area are the dimensions of the page box minus the margin area.For example, the following @page rule ... Read More

CSS pitch property

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 16-Mar-2020 07:11:08

125 Views

This property specifies the average pitch (a frequency) of the speaking voice. The average pitch of a voice depends on the voice family. For example, the average pitch for a standard male voice is around 120Hz, but for a female voice, it's around 210Hz.The possible values are −frequency - Specifies the ... Read More

Achieve X-Ray effect with CSS

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 13-Mar-2020 13:26:40

777 Views

X-Ray effect grayscales and flattens the color depth.The following parameter is used in this filter −S.noParameter & Description          1.XrayGrayscales and flattens the color depth.ExampleYou can try to run the following code to create an X-Ray effect −Live Demo                         Text Example:       CSS Tutorials    

Achieve Glow Effect with CSS Filters

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 13-Mar-2020 13:21:27

880 Views

The glow effect is used to create a glow around the object. If it is a transparent image, then glow is created around the opaque pixels of it.The following parameters can be used in this filter −S.noParameter & Description1.ColorThe color you want the glow to be.2.StrengthThe intensity of the glow ... Read More

Fade Out Left Animation Effect with CSS

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 13-Mar-2020 13:10:43

182 Views

To implement Fade Out Left Animation Effect on an image with CSS, you can try to run the following code −ExampleLive Demo                    .animated {             background-image: url(/css/images/logo.png);             background-repeat: no-repeat; ... Read More

Java program to find the permutation when the values n and r are given

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 13-Mar-2020 10:52:12

338 Views

Permutation refers a number of ways in which set members can be arranged or ordered in some fashion. The formula of permutation of arranging k elements out of n elements is −nPk = n! / (n - k)!Algorithm1. Define values for n and r. 2. Calculate factorial of n and ... Read More

Java program to Largest number among three numbers

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 13-Mar-2020 09:53:45

4K+ Views

Comparing three integer variables is one of the simplest programs you can write at ease. Take two integer variables, say A, B& C Assign values to variables If A is greater than B & C, Display A is the largest value If B is greater than A & C, Display B is the largest ... Read More

Java program to generate and print Floyd’s triangle

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 13-Mar-2020 07:22:18

4K+ Views

Floyd's triangle, named after Robert Floyd, is a right-angled triangle, which is made using natural numbers. It starts at 1 and consecutively selects the next greater number in the sequence.AlgorithmTake a number of rows to be printed, n.Make outer iteration I for n times to print rowsMake inner iteration for ... Read More

Java program to find the average of given numbers using arrays

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 13-Mar-2020 06:56:23

4K+ Views

You can read data from the user using scanner class.Using the nextInt() method of this class get the number of elements from the user.Create an empty array.Store the elements entered by the user in the array created above.Finally, Add all the elements in the array and divide the sub by ... Read More

Java program to find the smallest number in an array

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 13-Mar-2020 06:10:15

14K+ Views

To find the smallest element of the given array, first of all, sort the array.Sorting an arrayCompare the first two elements of the arrayIf the first element is greater than the second swap them.Then, compare 2nd and 3rd elements if the second element is greater than the 3rd swap them.Repeat ... Read More

Advertisements