I am trying to align the contents vertically in a div, but the first div does not seem to be centered like the second one. I need both of them, along with their children, to be vertically centered inside the div.
For example:
[type='file'] {
border: 0;
clip: rect(0, 0, 0, 0);
height: 1px;
overflow: hidden;
padding: 0;
position: absolute !important;
white-space: nowrap;
width: 1px;
&:focus {
+label {
box-shadow: 0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3) !important;
}
}
}
.PcYqm {
box-sizing: border-box;
padding-bottom: 5px;
margin: 10px;
background: red;
}
.UtilClasses_NO_MARGINS__lwdL1 {
margin: 0 !important;
}
.gYoMm {
box-sizing: border-box;
}
.eZmlQJ {
box-sizing: border-box;
padding-top: 5px;
margin: 10px;
background: green;
}
.bcHrqA {
box-sizing: border-box;
margin-left: 10px;
margin-right: 10px;
}
Any suggestions on how to achieve this? I am open to using Bootstrap as well.