Karthikeya Boyini has Published 2193 Articles

Change the color of the left border with CSS

karthikeya Boyini

karthikeya Boyini

Updated on 03-Feb-2020 06:17:59

173 Views

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

How can I set the color, style, and width of lines in a single property with CSS?

karthikeya Boyini

karthikeya Boyini

Updated on 31-Jan-2020 10:48:00

129 Views

The border property allows you to specify color, style, and width of lines in one property.ExampleYou can try to run the following code to specify border property:                            This example is showing shorthand property for border.          

Usage of border-style property in CSS

karthikeya Boyini

karthikeya Boyini

Updated on 31-Jan-2020 10:45:10

75 Views

Use the border-style property to set the style of the border:Example            .                This is a border with none width.                      This is a solid border.    

Usage of border-right-color property in CSS

karthikeya Boyini

karthikeya Boyini

Updated on 31-Jan-2020 10:19:10

60 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;          }                              India is a country.          

Change the style of top border with CSS

karthikeya Boyini

karthikeya Boyini

Updated on 31-Jan-2020 10:08:30

138 Views

The border-top-style property changes the style of top border.ExampleYou can try to run the following property to change the style of the top border:                            Example showing top border          

Usage of CSS caption-side property

karthikeya Boyini

karthikeya Boyini

Updated on 31-Jan-2020 10:01:27

55 Views

The caption-side property allows you to specify where the content of a element should be placed in relationship to the table.ExampleThis property can have one of the four values top, bottom, left or right. Let us seen an example to learn how to implement caption-side property:           ... Read More

Change the Color of Link when a Mouse Hovers

karthikeya Boyini

karthikeya Boyini

Updated on 31-Jan-2020 06:59:42

1K+ Views

To change the color of a link when we bring a mouse pointer over that link, use the: hover property.ExampleYou can try to run the following code to change the link color:                    a:hover {             color: #FFCC00          }                     My Link    

Set the opacity of an image with CSS

karthikeya Boyini

karthikeya Boyini

Updated on 31-Jan-2020 06:53:54

212 Views

To set the opacity of an image, use the CSS -moz-opacity property. 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:           ... Read More

Set the shadow around the text in CSS

karthikeya Boyini

karthikeya Boyini

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

147 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.          

Usage of border property with CSS

karthikeya Boyini

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:                                  

Advertisements