skip to Main Content

Html – Expand select option from other element

Background: I was trying to do some custom styling for my select element by changing the color and arrow example: <select :id="'select' + index" class="w-full px-4 py-2 pr-8 bg-theme text-white rounded-md hover:bg-theme/50 appearance-none" @focus="dropdownOpen = true" @blur="dropdownOpen = false"> <option…

VIEW QUESTION

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

Reactjs – Tailwind different on build (w-20 w-full)

I'm using tailwind, vite, and react I have an 2 elements, thats look like this : <div class="font-normal bg-grey appearance-none rounded-3xl w-full leading-tight border-none ring-0 text-sapin focus:bg-menthe focus:outline-none focus:shadow-outline focus:placeholder:text-transparent placeholder:font-thin placeholder:text-sapin-500 py-0 px-5 sm:py-2 w-20"></div> In localhost, it working…

VIEW QUESTION
Back To Top
Search