Found 609 Articles for Front End Scripts

Set the width of an image with CSS

Lakshmi Srinivas
Updated on 31-Jan-2020 10:46:55

122 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:                                  

Set dotted line for border with CSS

George John
Updated on 31-Jan-2020 10:46:18

298 Views

To set dotted line for border, use the border-style property. You can try to run the following code to implement border-style property value dotted to set dotted border:Example                            This is a dotted border.          

Usage of border-style property in CSS

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.    

Set the style of the border with CSS

Samual Sam
Updated on 31-Jan-2020 10:42:55

90 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
Updated on 31-Jan-2020 10:38:41

59 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          

Usage of margin-top property with CSS

Arjun Thakur
Updated on 31-Jan-2020 10:24:12

72 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          

Usage of border-bottom-color property in CSS

Chandu yadav
Updated on 31-Jan-2020 10:23:19

62 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          

Usage of border-width property in CSS

Ankith Reddy
Updated on 31-Jan-2020 10:21:55

66 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          

Change the style of the right border with CSS

Lakshmi Srinivas
Updated on 31-Jan-2020 10:21:16

67 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          

Set dashed line for border with CSS

George John
Updated on 31-Jan-2020 10:20:44

453 Views

To set the dashed line for the border, use the border-style property. You can try to run the following code to implement border-style property value dashed to set dashed border:Example                            This is a dotted border.          

Previous 1 ... 7 8 9 10 11 ... 61 Next
Advertisements