I have recently started using the Bootstrap 3 framework, and I noticed that the columns they offer handle a lot of content centering automatically.
Here is the CSS code I am currently using:
.test {
position: absolute;
z-index: 9;
left: 50%;
transform: translateX(-50%);
opacity:0;
transition: opacity 0.5s ease;
}
This CSS styling is contained within a div with a relative position.
While this setup works perfectly in Firefox, I am encountering issues in Safari. I understand the need for adding browser-specific CSS to ensure cross-browser compatibility, so what adjustments should be made to make it work seamlessly in Safari as well?