Thursday 27 May 2021

Responsive Design


<!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-size5px;
    }
.container{
    border2px solid black;
    text-aligncenter;
    /* font-size: 10px; */
    width100vw;
    height100vh;
}
#second{
font-size5rem;

}
#Third{
font-size5rem;
}
.para{
    border2px 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:

Python if / else

 Python if / else a1 = int ( input (" Enter the number: \n ")) a2 = int ( input (" Enter the number: \n ")) a3 = int ( i...