Does Bootstrap 4 work on Safari Browser in Windows?

前端 未结 3 1306
面向向阳花
面向向阳花 2020-12-22 07:57

I have created a website, which is working right on all the browsers but in Safari the layout is quite unstructured. What is the issue? IS the safari on the window does not

3条回答
  •  星月不相逢
    2020-12-22 08:33

    Fixed bootstrap 4 css issues using custom css. So, I have fixed the following issues of bootstrap 4 in Safari browser of windows and all the Browsers used on Mac.

    1. Bootstrap 4 Navbar is not showing on Safari.
    2. Last Column of a single row is moving to the next row on Safari.

    Use this custom style in your css file

    @media (min-width: 768px){
        .navbar-nav{
            margin:0 auto;
            display: -webkit-inline-box;
        }
        .collapse:not(.show) {
            display:block;
        }
        .row{
           display: -webkit-inline-box; 
        }
    }
    

提交回复
热议问题