7. Borders and Backgrounds : CSS

Borders and Backgrounds 

Borders and Backgrounds

In this activity, we will see some other CSS properties like Height, width, Border, and Background.

Height - It is utilized to set the height of a component and it does exclude padding, borders, or margins.

Width - It is utilized to set the width of a component and it does exclude padding, borders, or margins.

Border - It permits you to determine the style, width, and shade of a component's line.

Background Color - It is a property to set the background shade of a component.

Border Radius - It characterizes the span of the component's corners.

Background Image - It is utilized to set at least one background picture for a component. Of course, It is set at the upper left corner of a component. There are two techniques for adding a background picture. Initially, you can add straight by adding a URL of the picture from the site. Besides, in case you are having the records on your nearby PC, you can straightforwardly duplicate the way of the picture.

Background Position - It is utilized to set the beginning situation of a  background picture.

Background Repeat - It is utilized to set if/how a background picture will be rehashed. Of course, It is rehashed both in an upward direction and evenly.

Post a Comment

0 Comments