Set Outset Border with CSS

Samual Sam
Updated on 03-Feb-2020 06:39:20

498 Views

To set outset border with CSS, use the border-style property with value outset.Example                            This is a border with none width.                      This is outset border.          

Set CSS Margin Properties in One Declaration

George John
Updated on 03-Feb-2020 06:38:25

312 Views

The margin property defines the space around an HTML element. It is possible to use negative values to overlap content. It specifies a shorthand property for setting the margin properties in one declaration.ExampleYou can try to run the following code to set margins                            All four margins will be 20px                      Top margin will be 15px, left and right margin will be 4% of the total width of the document, bottom margin will be -10px          

Change the Style of Bottom Border with CSS

Ankith Reddy
Updated on 03-Feb-2020 06:37:53

182 Views

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

CSS Padding Top Property

Lakshmi Srinivas
Updated on 03-Feb-2020 06:36:17

106 Views

The padding-top specifies the top padding of an element. It sets the top padding of an element. This can take a value in terms of length of %.Example                            This is a paragraph with a specified top padding                      This is another paragraph with a specified top padding in percent          

CSS padding-bottom Property

Arjun Thakur
Updated on 03-Feb-2020 06:34:14

108 Views

The padding-bottom specifies the bottom padding of an element. It sets the bottom padding (space) of an element. This can take a value in terms of length of %.Example                            This is a paragraph with a specified bottom padding                      This is another paragraph with a specified bottom padding in percent          

Set Inset Border with CSS

karthikeya Boyini
Updated on 03-Feb-2020 06:33:12

883 Views

To set inset border with CSS, use the border-style property with value inset.Example                            This is a border with none width.                      This is inset border.          

Set Border That Looks Carved Into the Page

Samual Sam
Updated on 03-Feb-2020 06:31:55

113 Views

Use the border-style property with groove value to set a border as carved into the page. You can try to run the following code to implement border-style property:Example                            This is a border with none width.                      This is a border carved into the page.          

Set a Border Between Two Lines with CSS

Lakshmi Srinivas
Updated on 03-Feb-2020 06:31:20

300 Views

Use the border-style property with double value to set a border with two lines. You can try to run the following code to implement border-style property:Example                            This is a border with none width.                      This is a border with two solid lines.          

Change the Width of the Bottom Border with CSS

karthikeya Boyini
Updated on 03-Feb-2020 06:30:44

213 Views

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

Set the Right Margin of an Element with CSS

George John
Updated on 03-Feb-2020 06:23:19

217 Views

The margin-right property is used to set the right margin of an element. It can have a value in length, % or auto. You can try to run the following code to set the right marginExample                                     Cricket crazy nation India!                                 Cricket crazy nation Australia!                

Advertisements