Моя полоса прокрутки открывается и закрывается при вводе данных в форму.
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<!-- Meta -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap -->
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/bootstrap-grid.css">
<link rel="stylesheet" href="css/bootstrap-reboot.css">
<!-- FontAwesome -->
<link rel="stylesheet" href="/css/FontAwesome/css/all.css">
<!-- StyleSheet -->
<link rel="stylesheet" href="css/Login.css">
<!-- Title -->
<title>Log in: Shri Riddhi Siddhi Wedding Collection</title>
</head>
<body>
<section id="Section-a">
<div class="container-fluid">
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-dark">
<a class="navbar-brand text-light font-weight-bold text-uppercase" id="nav-style">Shri Riddhi Siddhi Wedding Collection</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse"id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a href="index.html" target="_self" class="nav-link text-light font-weight-bold">Home</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle text-light font-weight-bold" href="#" id="navbarDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Clothing
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#">Lehngas</a>
<a class="dropdown-item" href="#">Dupattas</a>
<a class="dropdown-item" href="#">Blouses</a>
<a class="dropdown-item" href="#">Gowns</a>
<a class="dropdown-item" href="#">Rajputi Dress</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle ml-auto text-light font-weight-bold" href="#" id="navbarDropdown2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Acessories
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown2">
<a class="dropdown-item" href="#">Earrings</a>
<a class="dropdown-item" href="#">Nosepins</a>
<a class="dropdown-item" href="#">Bangles</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link text-light font-weight-bold" href="#">Contact Us</a>
</li>
<li class="nav-item">
<a href="#" class="nav-link text-light font-weight-bold">About Us</a>
</li>
</nav>
</div>
</section>
<section id="form">
<form class="form-body">
<div class="form-group">
<label for="userEmail">Username</label>
<input type="email" class="form-control" id="userEmail" aria-describedby="emailHelp" placeholder="Enter your Username">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Enter your Password">
</div>
<button type="submit" class="btn btn-danger">Log in</button>
</div>
</form>
</section>
<!-- Bootstrap Scripts- DONOT DELETE -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>
Мой CSS код:
*{
font-family: 'Roboto', sans-serif;
}
#Section-a{
background-color: #d72978;
}
/* #form{
} */
.heading{
padding-top: 10px;
font-family: 'Segoe UI', sans-serif;
}
.form-body{
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 5px;
padding: 10%;
width: 50%;
text-align: left;
position: absolute;
top: 25%;
left: 24%;
}
.form-control{
width: 90%;
border: 1px solid #dc3545;
}
Кто-нибудь может помочь?