How to make 2 borders overlap? – Html
I use tailwind and i need to achieve this : So I made a border on the parent element and on both buttons (increment and decrement). Problem : when there are 2 borders, we can see it. And the render…
I use tailwind and i need to achieve this : So I made a border on the parent element and on both buttons (increment and decrement). Problem : when there are 2 borders, we can see it. And the render…
I'm using React and Tailwind, I want to achieve this : So I added a border on both button + and -, and I added a border on the parent div to display a border on all the element. Problem…
I want to render an element with a random color at runtime at every documentstart, using ReactJS and TailwindCSS. However, even though looking at the element through the inspector and seeeing the class properly, it still doesn't work. Here is…
I am using react with TailwindCSS. I want to have a div grid element with a dynamic row and col count. Because of this, when I pass in my tailwind classes to classNames of the div, I am using string…
I'm trying to make active buttons on the navbar so when an section is active it's highlighted. For the colors I'm using custom colors and to change the state I'm using useState. The problem is the buttons are working fine…
I was trying to make a Navbar. Here is the Codepen link: https://codepen.io/rajin100000/pen/JjaxMjZ I am using Tailwind CSS. When the first Nav_Link1 has Guide inside, everything is working as expected. But if I remove this Guide inside Nav_Link every item…
i'm working on a project using tailwind CSS and React. I'm trying to make sure that hover only works for devices that allow hover. tailwind.config.js: /** @type {import('tailwindcss').Config} */ module.exports = { future: { hoverOnlyWhenSupported: true, }... //Bunch of code…
I want to use only flowbite package with tailwind in my nextjs application. I configure everything correctly. But adding flowbite.min.js script throws me error - GET http://localhost:3000/node_modules/flowbite/dist/flowbite.min.js net::ERR_ABORTED 404 (Not Found) I add the script in my _app.js file as…
My <div> contains a message from a message array, but I can't show it in a new line in UI. It all comes in the same line. My code is: <div className="md:container xl:mx-auto space-y-1 border-zinc-800 rounded border-2 w-30 h-60 bg-blue-300">…
I am currently working on styling the nav bar for a single page website. When a user hovers over the div that surrounds my button, I want it to not only change the background-color to darker shade of green(which already…