You are on page 1of 1

<!

DOCTYPE html>
<html>
<head>
<title>CSS Box Model</title>
<style>
.main
{ font-size: 30px;
font-weight: bold;
text-align: center;
}
.c1
{
margin-left: 60px;
border: 50px solid #009900;
width: 300px;
height: 200px;
padding: 50px;
}

.c2
{
font-size: 40px;
font-weight: bold;
color: #009900;
margin-top: 60px;
background-color: #c5c5db;
}
.c3
{
background-color: #c5c5db;
}
</style>
</head>
<body>
<div class="main">
CSS-BOX MODEL PROPERTY
</div>
<div class="c1">
<div class="c2">
Welcome to LPU
</div>
<div class="c3">
A computer Science is a interesting Course
</div>
</div>
</body>
</html>

You might also like