Javascript Articles

Page 496 of 534

Set the width of an image with CSS

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 31-Jan-2020 127 Views

The width property is used to set the width of an image. This property can have a value in length or in %. While giving value in %, it applies it in respect of the box in which an image is available.ExampleYou can try to run the following code to set the width of an image:                                  

Read More

Usage of border-top-style property in CSS

Samual Sam
Samual Sam
Updated on 31-Jan-2020 159 Views

The border-top-style property changes the style of top border. You can try to run the following code to implement the border-top-style property:Example                            This is demo content          

Read More

Usage of border-style property in CSS

karthikeya Boyini
karthikeya Boyini
Updated on 31-Jan-2020 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.    

Read More

Set the style of the border with CSS

Samual Sam
Samual Sam
Updated on 31-Jan-2020 92 Views

To set the style of border, use the border-style property. The border-style property allows you to select one of the following styles of the border:none: No bordersolid: Border is a single solid line.dotted: Border is a series of dots.dashed: Border is a series of short lines.double: Border is two solid lines.groove: Border looks as though it is carved into the page.ridge: Border looks the opposite of groove.inset: Border makes the box look like it is embedded in the page.outset: Border makes the box look like it is coming out of the canvas.hidden: Same as none, except in terms of border-conflict resolution for table elements.ExampleYou can try to ...

Read More

Usage of border-left-color property in CSS

George John
George John
Updated on 31-Jan-2020 64 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:4px solid;             border-left-color:#FF0000;          }                              Example showing border left color property          

Read More

Usage of border-left-style property in CSS

Chandu yadav
Chandu yadav
Updated on 31-Jan-2020 143 Views

The border-left-style property changes the style of left border. You can try to run the following code to implement the border-left-style propertyExample                            This is demo content          

Read More

Usage of margin-top property with CSS

Arjun Thakur
Arjun Thakur
Updated on 31-Jan-2020 76 Views

The margin-top specifies the top margin of an element. It can have a value in length, % or auto.ExampleYou can try to run the following code to set the top margin                            This is a paragraph with a specified top margin                      This is another paragraph with a specified top margin in percent          

Read More

Usage of border-bottom-color property in CSS

Chandu yadav
Chandu yadav
Updated on 31-Jan-2020 65 Views

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

Read More

Usage of border-width property in CSS

Ankith Reddy
Ankith Reddy
Updated on 31-Jan-2020 142 Views

The border-width property changes the color of the right border.ExampleYou can try to run the following code to implement the border-width property:                            Example showing border width and style          

Read More

Change the style of the right border with CSS

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 31-Jan-2020 169 Views

The border-right-style property changes the style of right border. You can try to run the following code to implement border-right-style property:Example                            Example showing right border          

Read More
Showing 4951–4960 of 5,338 articles
« Prev 1 494 495 496 497 498 534 Next »
Advertisements