Change the Color of Right Border with CSS

George John
Updated on 31-Jan-2020 06:45:25

214 Views

The border-right-color property changes the color of the right border.ExampleYou can try to run the following code to implement the border-right-color property                    p.demo {             border:3px solid;             border-right-color:#FF0000;          }                              Example showing border right color property          

Style Images with CSS

Lakshmi Srinivas
Updated on 31-Jan-2020 06:44:40

275 Views

To style images with CSS, you need to use properties such as height, width, - moz-opacity, etc. Let us see how to create a transparent image with - moz-opacity CSS property:The -moz-opacity property of an image is used to set the opacity of an image. This property is used to create a transparent image in Mozilla. IE uses filter:alpha(opacity=x) to create transparent images.ExampleYou can try to run the following code to style an image and set opacity with CSS:                      

Set the Space Between Characters in CSS

Srinivas Gorla
Updated on 31-Jan-2020 06:42:39

244 Views

Use the letter-spacing property to set the space between characters. You can try to run the following code to implement letter-spacing property:Example                            Asia is a continent.          

Usage of text-align Property in CSS

V Jyothi
Updated on 31-Jan-2020 06:40:17

105 Views

The text-align property is used to align the text of a document. Possible values are left, right, center, justify.ExampleYou can try to run the following code to implement text-align property:                            This will be right aligned.                      This will be center aligned.                      This will be left aligned.          

Indent the First Line of a Paragraph in CSS

Lakshmi Srinivas
Updated on 31-Jan-2020 06:39:47

3K+ Views

Use the text-indent property to indent the first line of a paragraph. Possible values are % or a number specifying indent space.ExampleYou can try to run the following code to indent the first line:                            This text will have first line indented by 2cm and this line will remain at          its actual position this is done by CSS text-indent property.          

Set the Shadow Around the Text in CSS

karthikeya Boyini
Updated on 31-Jan-2020 06:39:15

168 Views

Use the text-shadow property to set the shadow around a text. You can try to run the following code to learn how to set the shadow around the text in CSS:Example                            If your browser supports the CSS text-shadow property, this text will have a green shadow.          

Decorate Text in CSS

mkotla
Updated on 31-Jan-2020 06:38:41

148 Views

To decorate a text in CSS, use the text-decoration property. The following example demonstrates how to decorate a text. Possible values are none, underline, overline, line-through, blink.                            This will be underlined                      This will be striked through.                      This will have a over line.                      This text will have blinking effect          

Usage of Border Property with CSS

karthikeya Boyini
Updated on 31-Jan-2020 06:38:11

75 Views

The border property is used to set the width of an image border. This property can have a value in length or in %. A width of zero pixels means no border.ExampleYou can try to run the following code to set the width of image border:                                  

Set Whitespace Between Text in CSS

vanithasree
Updated on 31-Jan-2020 06:37:37

248 Views

To set the whitespace between text, use the white-space property. Possible values are normal, pre, nowrap.ExampleYou can try to run the following code to set the whitespace between text in CSS:                            This text has a line break and the white-space pre setting tells the browser to honor          it just like the HTML pre tag.    

Evaluate Reverse Polish Notation in C++

Arnab Chakraborty
Updated on 31-Jan-2020 06:36:02

405 Views

Suppose we have a triangle. We have to find the minimum path sum from top to the bottom. In each step we can move to adjacent numbers on the row below.For example, if the following triangle is like[    [2],    [3, 4],    [6, 5, 7],    [4, 1, 8, 3] ]The minimum path sum from top to bottom is 11 (2 + 3 + 5 + 1 = 11).Let us see the stepsCreate one table to use in Dynamic programming approach.n := size of trianglefor i := n – 2 down to 0for j := 0 to idp[j] ... Read More

Advertisements