Within the following code snippet, there are 6 instances of form-group
. All elements are styled using Bootstrap 4 to achieve both vertical and horizontal centering. The center alignment appears to work correctly, but when resizing the browser window vertically, some elements at the top may be hidden by the browser's scrollbar. (To see this behavior in action, run the code snippet).
https://i.sstatic.net/0gPwE.png
Could someone provide guidance on how to resolve this issue?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
... (remaining HTML code continues)