How to make background image responsive?

when i inspect it in responsive, the height of the background didnt come out fully. How to fix it?

<!DOCTYPE html>
        <meta charset="utf-8"/>
        <link rel="stylesheet" href="styles.css">
        <meta name="viewport" content="width=device-width, initial-scale=1">
                <h1>Practice 1</h1>
            <h2>Practice 2</h2>
            <h3>Practice 3</h3>

h1 {
color: white;
background-color: aquamarine;
text-align: center;
opacity: 0.3;

html {
background-image: url(“background.png”);
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-position: center;

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.