<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Height,Width,border and backgrounds </title>
<style>
#firstpara{
color: white;
background-color:red;
height: 100px;
width: 455px;
border-width: 4px;
border-color: black;
border-style: solid;
border-radius: 10px;
}
#secondpara{
color: black;
background-color: chartreuse;
height: 100px;
width: 455px ;
border-top: 2px solid red;
border-right: 2px solid yellow;
border-bottom: 2px solid blue;
border-left: 2px solid black;
border-top-left-radius: 12px;
border-bottom-right-radius: 12px;
}
#thirdpara{
height:241px;
width: 150px;
background-image: url("https://codewithharry.com/static/home/img/photo.png");
border: 2px solid red;
background-repeat: no-repeat;/* repeat-x and repeat-y will make it repeat x and y axis*/
background-position: center center ;
/* background-position: 192px 32px; */
/* background-position: center right; */
/* background-position: top left; */
/* background-position: top center; */
/* background-position: bottom center; */
/* background-position: bottom right; */
}
</style>
</head>
<body>
<h3>This is the heading</h3>
<p id="firstpara">This is the paragraph</p>
<h3>This is second heading</h3>
<p id="secondpara">This is my second paragraph</p>
<h3>This is third heading</h3>
<p id="thirdpara">This is my third paragraph</p>
</body>
</html>