Lakshmi Srinivas has Published 315 Articles

Paged Media in CSS

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 16-Mar-2020 07:20:51

117 Views

Paged media differ from continuous media in that the content of the document is split into one or more discrete pages. Paged media includes paper, transparencies, pages that are displayed on computer screens, etc.The CSS2 defines a "page box", a box of finite dimensions in which content is rendered. The ... Read More

What is a page box in CSS?

Lakshmi Srinivas

Lakshmi Srinivas

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

130 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

486 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

674 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

219 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 calculate the power of a number

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 13-Mar-2020 10:31:34

2K+ Views

Read the base and exponent values from the user. Multiply the base number by itself and multiply the resultant with base (again) repeat this n times where n is the exponent value.2 ^ 5 = 2 X 2 X 2 X 2 X 2 (5 times)Exampleimport java.util.Scanner; public class PowerOfNumber ... Read More

Java program to find smallest of the three numbers using ternary operators

Lakshmi Srinivas

Lakshmi Srinivas

Updated on 13-Mar-2020 09:59:17

742 Views

The conditional operator is also known as the ternary operator. This operator consists of three operands and is used to evaluate Boolean expressions. The goal of the operator is to decide, which value should be assigned to the variable. The operator is written as −variable x = (expression) ? value ... 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

Advertisements