Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Level 11 Lesson 4 plzz help

<!DOCTYPE html>
<html>
<head>
<title>Changing font-size using Media query</title>
<style>
body{
@media screen and(min-width: 550px)
{
font-size:25px;
}
background-color: pink;
font-size: 20px;
}

</style>
</head>
<body>
<h1>Studytonight</h1>
</body>
</html>
by

1 Answer

Ashutoshry6u3
<!DOCTYPE html>
<html>
<head>
<title>Changing font-size using Media query</title>
<style>
@media(min-width:550px)
{
body{
font-size:25px;
}
}

body{

background-color: pink;
font-size: 20px;
}

</style>
</head>
<body>
<h1>Studytonight</h1>
</body>
</html>

Login / Signup to Answer the Question.