Samual Sam has Published 2310 Articles

Usage of border-top-style property in CSS

Samual Sam

Samual Sam

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

126 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          

Set the style of the border with CSS

Samual Sam

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 ... Read More

Set a dotted line for the border with CSS

Samual Sam

Samual Sam

Updated on 31-Jan-2020 10:20:12

2K+ Views

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

Difference between CSS border-collapse:collapse; and border-collapse:separate;

Samual Sam

Samual Sam

Updated on 31-Jan-2020 10:06:18

204 Views

The following image justifies the difference between collapse and separate. The separate value of the border-collapse property separates the borders of the cells:ExampleYou can try to run the following code to understand the difference between border-collapse separate and collapse value:                    table.one ... Read More

Set width between table cells with CSS

Samual Sam

Samual Sam

Updated on 31-Jan-2020 09:59:56

259 Views

The border-spacing specifies the width between table cells. It can take either one or two values; these should be units of length.ExampleYou can try to run the following code to set the width of table cells:                    table.one {     ... Read More

How to Add Cinematic Effects On Selfies

Samual Sam

Samual Sam

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

164 Views

Along with food, shelter and money internet and smart phone have become our basic necessities. Talking about smart phones along with all other criteria one unspoken necessity we all expect from our phone is front camera for selfies. A selfie for every mood, every moment happy, sad, angry or busy ... Read More

CSS padding property

Samual Sam

Samual Sam

Updated on 31-Jan-2020 06:56:55

199 Views

The padding property sets the left, right, top and bottom padding (space) of an element.ExampleYou can try to run the following code to implement padding property.                             All four padding will be 25px       ... Read More

Usage of width property with CSS

Samual Sam

Samual Sam

Updated on 31-Jan-2020 06:45:51

81 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 ... Read More

How to set the cases for a text in CSS?

Samual Sam

Samual Sam

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

220 Views

Use the text-transform property to set the cases for a text. Possible values are none, capitalize, uppercase, lowercase.ExampleYou can try to run the following code to set the cases for a text:                            This will be capitalized                      This will be in uppercase                      This will be in lowercase          

Indent the text of a paragraph with CSS

Samual Sam

Samual Sam

Updated on 31-Jan-2020 06:02:11

256 Views

The text-indent property is used to indent the text of a paragraph. Possible values are % or a number specifying indent space.ExampleYou can try to run the following code to implement a text-indent property in CSS:                            This text ... Read More

Advertisements