skip to Main Content

Css – flex-row and justify-items-center class have no effect on Firefox but works on Chrome

function App() { return ( <div className = "flex-row justify-items-center" > <h1> MINIMAL LOL </h1> </div > ); } ReactDOM.render( < App / > , document.getElementById('root')); <script src="https://cdnjs.cloudflare.com/ajax/libs/react/18.3.1/umd/react.production.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/18.3.1/umd/react-dom.production.min.js"></script> <script src="https://cdn.tailwindcss.com"></script> <div id="root"></div> This works as intended on Chrome:…

VIEW QUESTION
Back To Top
Search