CSS background-attachment Property

The background-attachment property is used to specify if the background image is fixed or scroll with the rest of the page in browser window. It can be set to scroll … Read more

CSS background-repeat Property

If a background-image property is specified, the background-repeat property in CSS defines how it will repeat. It also decides whether the background-image will be repeated or not. By default, a background-image is repeated both vertically and horizontally. … Read more

CSS background-image Property

The background-image property is used to set an image as a background of an element. By default the image covers the entire element. It sets one or more background images … Read more

CSS background-color Property

The background-color property is used to specify the background color of the element. The background covers the total size of the element with padding and border but excluding margin. CSS … Read more

CSS Selectors

CSS selectors are used to select the content you want to style. They are used to “find” (or select) the HTML elements you want to style. In this chapter you will learn … Read more

External CSS

The external style sheet is generally used when you want to make changes on multiple pages. With an external style sheet, you can change the look of an entire website … Read more

Internal CSS

The internal style sheet is used to add a unique style for a single document. It is also called Embedded CSS. An internal CSS is defined in the <head> section of an … Read more

Inline CSS

An inline CSS is used to apply a unique style for a single element. This kind of style is specified within an HTML tag using the style attribute.  To use … Read more

CSS Comments

Comments are ignored by browsers. CSS comments are generally written to explain your code. Comments are single or multiple lines statement and written within /*…………*/ . Comments can help document … Read more