<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Responsive Design</title>
</head>
<style>
html{
font-size: 5px;
}
.container{
border: 2px solid black;
text-align: center;
/* font-size: 10px; */
width: 100vw;
height: 100vh;
}
#second{
font-size: 5rem;
}
#Third{
font-size: 5rem;
}
.para{
border: 2px solid black;
}
</style>
<body>
<div class="container">
<h1 class="para" id="first">This is First paragraph</h1>
<h1 class="para" id="second">This is second paragraph</h1>
<h1 class="para" id="Third">This is Third paragraph</h1>
</div>
</body>
</html>
No comments:
Post a Comment