How can I keep the search bar centered on the screen, even when content is added below it? Here's a screenshot illustrating the issue:
https://i.stack.imgur.com/7pQ1q.png
The text in the image is causing the search bar to move up, but I want the search bar to always stay at the center of the screen with all text flowing below it. I'm currently using flexbox for layout. Below is a snippet of my code:
/* YOUR CUSTOM STYLES GO HERE */
* {
outline: none !important;
box-sizing: border-box;
}
html,
body {
height: 100%;
border: 0;
margin: 0;
}
<!---Other CSS styles and formating script contents here-->
I would greatly appreciate any assistance you can provide. Thank you in advance!