Javascript Articles

Page 485 of 534

Usage of CSS list-style-type property

George John
George John
Updated on 03-Feb-2020 66 Views

The list-style-type allows you to control the shape or appearance of the marker. You can try to run the following code to implement list-style-type propertyExample                            India          Australia          

Read More

Style the numbering characters in an ordered list with CSS

Samual Sam
Samual Sam
Updated on 03-Feb-2020 414 Views

The list-style-type property allows you to control the shape or style the numbering characters in ordered lists.Example                            India          US          UK          

Read More

How to set the bottom margin of an element?

Arjun Thakur
Arjun Thakur
Updated on 03-Feb-2020 242 Views

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

Read More

Usage of margin-bottom property with CSS

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 03-Feb-2020 71 Views

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

Read More

Set the top margin of an element with CSS

Chandu yadav
Chandu yadav
Updated on 03-Feb-2020 108 Views

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

Read More

Specify all the list properties into a single expression with CSS

Samual Sam
Samual Sam
Updated on 03-Feb-2020 152 Views

The list-style property allows you to specify all the list properties into a single expression.ExampleYou can try to run the following code to list all properties like list-style, type, etc in one line:                            Laptop          Desktop System                      Laptop          Desktop System          

Read More

Set Outset border with CSS

Samual Sam
Samual Sam
Updated on 03-Feb-2020 524 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.          

Read More

How to set the CSS margin properties in one declaration?

George John
George John
Updated on 03-Feb-2020 335 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          

Read More

Change the style of bottom border with CSS

Ankith Reddy
Ankith Reddy
Updated on 03-Feb-2020 193 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          

Read More

CSS padding-top property

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 03-Feb-2020 110 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          

Read More
Showing 4841–4850 of 5,338 articles
« Prev 1 483 484 485 486 487 534 Next »
Advertisements