Currently, I am in the process of building a product landing page as a part of the freecodecamp bootcamp, and I have incorporated the bootstrap library into my project.
One issue I encountered is with centering the email input field within the form. I attempted to use 12 columns to resolve the problem, which worked but made the input field excessively large. What I aim to achieve is having the input field occupy the space of 6 columns while still being aligned at the center.
If you'd like to take a look at the code, you can find it on Codepen.
<style>
* {
margin: 0;
padding: 0;
}
// Other CSS styles go here
</style>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<body>
<!-- Page structure goes here -->
</body>