2nd Sem PDF
2nd Sem PDF
Example:
*{
color: blue;
font-size: 10px;
Example:
h2, h3 {
color: red;
h3 {
background-repeat: none;
}
20. Tell us about the property used for image
scroll controlling?
The background-attachment property is used to set
whether the background image is fixed or it scrolls with the
rest of the page.
body {
background-image: url(‘url_of_image’);
background-repeat: no-repeat;
background-attachment: fixed;