I need help achieving a layout similar to the image linked below:
https://i.sstatic.net/GTOJF.jpg
In my design, the red box represents my company logo with some text hidden. However, in my attempt shown in the second image here: https://i.sstatic.net/7xYGE.jpg
Unfortunately, my CSS and design skills are lacking. I'm struggling to center the text under the logo properly, match the font from the original image, and align the button within the panel.
Currently, I am using Bootstrap v4.1.3
Here is the HTML code I have written so far:
body {
background-color: black;
}
#centreElement {
position: fixed;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
border: 1px solid black;
background-color: white;
box-shadow: 1px 1px;
max-width: 440px;
padding-top: 20px;
}
#button-wrapper {
float:right;
}
.centreLogo {
position: absolute;
top: 50%;
left: 50%;
width: 500px;
height: 500px;
margin-top: -250px; /* Half the height */
margin-left: -250px; /* Half the width */
}
.panelRow {
margin-bottom: 20px;
}
.btn-primary {
text-align: center;
color: black;
background-color: #99E5EA;
border-color: #99E5EA;
}
Any suggestions on how to better center the panel and the text under the logo separately?