CSS Background Shorthand Example :
<!DOCTYPE html>
<html>
<head>
<title> kod4u </title>
<style type="text/css">
body {
background: lightgreen url("img/css.jpg") no-repeat top center;
}
</style>
</head>
<body>
<h1> Background Shorthand Example </h1>
<p> Background Shorthand property can manage all properties in one single property. </p>
</body>
</html>
OUTPUT
<html>
<head>
<title> kod4u </title>
<style type="text/css">
body {
background: lightgreen url("img/css.jpg") no-repeat top center;
}
</style>
</head>
<body>
<h1> Background Shorthand Example </h1>
<p> Background Shorthand property can manage all properties in one single property. </p>
</body>
</html>
No comments:
Post a Comment