Skip to main content

All Questions

Tagged with
1 vote
1 answer
39 views

Animating a progress bar styled as a dotted line

I'm creating a progress/volume bar component with Angular/Tailwind where the percentage increments are colored circles. All gray circles means 0%, all blue means 100%, 10 out of 20 means 50%, etc. I ...
Michael Stowe's user avatar
0 votes
1 answer
22 views

Text overflow ellipses are not showing, instead text just hidden

I am trying to add tabs to an app. The tabs get smaller the more I add, how the tab text is just hidden instead of showing ellipses. Can anyone help? enter image description here enter image ...
Ruthvik Konduru's user avatar
-1 votes
1 answer
35 views

How to make animation , where characters starts to be colorful when hover it [closed]

I'm working on a React project with Tailwind CSS and TypeScript and I'm looking to add a specific animation effect to the site. I have a black-and-white image featuring characters from a game. The ...
tkchvdvd's user avatar
0 votes
1 answer
38 views

Why do children of tailwind grid divs inherit their siblings' classes, such as padding and margin?

<div class="grid grid-cols-3 gap-2"> <div class="children-1 col-span-1 p-4 border rounded-md flex justify-center items-center bg-red-600 text-white">Hello</div> ...
Neerazan's user avatar
0 votes
1 answer
25 views

Sidebar height needs to be set up to the bottom of the page

I have a webpage in React Js, in which there is dynamic content which means it can sometimes takes more height than its sidebar which results in ugly pattern in the page. What I want is my sidebar to ...
Abdullah Falak's user avatar
1 vote
0 answers
35 views

How to Prevent Layout Shifts and Whitespace Increasing when Conditionally Rendering Content in Next.js

I'm creating a page in NextJS (App Router) that is split into 2, separately scrollable sides. One of my sides features toggles, that conditionally add / remove content from it. When the toggles are ...
Dancentralized's user avatar
0 votes
0 answers
14 views

crousal effect not working in loop for the text section, it keeps on getting stuck on 4th section, not coming back on first again

This is my code. I set the carousel for both the texts container and images container. The images section is working perfectly fine but the same functionality is not working for the text section. The ...
Mr. Hunt's user avatar
1 vote
0 answers
41 views

Problem with tailwind styling in blade component

I am trying to create a radio button where the background color changes depending on the option you select. But anytime I click on the first option the second option retains the background color. But ...
Mahfuz Abdallah's user avatar
1 vote
1 answer
97 views

Error while filling the input in the Preline UI component

Currently I'm using PrelineUI("preline": "^2.0.1",) and tailwindcss("tailwindcss": "^3.3.5",). I have more than one input in an preline accordion component. ...
Arda Alkan's user avatar
0 votes
2 answers
48 views

Why is overflow scrolling not working on big screen?

I am working on a Vue project and I have this HTML: <div class="flex flex-col md:flex-row"> <div class="m-6 ml-10 mr-5 mt-10"> <div class="text-left"...
CS student's user avatar
0 votes
1 answer
37 views

How to Make an Absolutely Positioned Div Responsive Across Different Screen Sizes?

I'm developing a website and have encountered an issue with making a div that is absolutely positioned responsive across different screen sizes. Here's the context and what I've tried so far: Problem: ...
SaintK's user avatar
  • 17
0 votes
1 answer
138 views

How customize theme selector in tailwind-css

I want to start with the dark theme and later add the light colors by adding the light: selector. Is it possible to do something like this? <div class="bg-black light:bg-red-300 py-6"> ...
ali parvizi's user avatar
0 votes
2 answers
47 views

Setting Z-index of child element less than parent wihtout hiding it

I have a parent div which has a background image (an SVG with just a diagonal line). My child div will have some background-color depending on the value of a variable. I want to show the parent ...
10may's user avatar
  • 336
0 votes
1 answer
82 views

Inline CSS - Inline SVG url not showing up as background image

I want to add Inline SVG in inline CSS, but it is not working. <div style="background: url(data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20version%3D'1.1'%...
10may's user avatar
  • 336
0 votes
0 answers
76 views

Trouble fitting vertical image in my carousel of horizontal images (React.js)

I'm currently writing a photo portfolio web-app using React and Tailwind. I've managed to modify a carousel I've found according to my needs. Everything works as intended right until an image of a ...
Mer Danii's user avatar

15 30 50 per page
1
2 3 4 5
11