806,916 questions
0
votes
0
answers
7
views
How to style elements in the shadow DOM from a child element within the custom element
I'm creating a web component, and I would like the user/web editor to be able to style elements in the shadow DOM without touching the JavaScript class.
In the example I have a style element as a ...
1
vote
0
answers
19
views
Why does grid-template-areas break when combining minmax() and auto-fit in CSS Grid?
problem
Problem
I’m trying to create a responsive layout using CSS Grid.
The grid should have a header, main content, and a footer. I’m using grid-template-areas combined with auto-fit and minmax() to ...
0
votes
0
answers
13
views
No Data in menu with Ant Design
I have to keep two type of dropdown in one component. And based on the props, I have to make that select to appear.
But when I am using select, it's not showing data in the UI :
https://i.sstatic.net/...
0
votes
2
answers
44
views
Tailwind CSS v4 @apply not working properly with theme variables
I just started using tailwind CSS v4 and trying to make reusable UI component with React JS. but I'm getting errors like:
Cannot apply unknown utility class `text-brand-secondary-800 which i defined ...
-2
votes
0
answers
76
views
I have a problem with the my the accuracy of my roulette game [closed]
I’m building a small roulette wheel game in JavaScript. The wheel spins correctly, but sometimes the pointer shows the number next to the one it actually lands on.
Here’s the relevant part of the code:...
0
votes
1
answer
54
views
How to make scrollable list of buttons
Needed to make scrollable list of buttons in the left part of the screen. But the scrollbar in child div, even forced by overflow: scroll is not working. Read about removing overflow from parent ...
0
votes
0
answers
20
views
having trouble sizing slick slideshow's height with centerMode
I'm using slick slideshow for 3 images. I want to use centerMode so that one slide is fully visible with equal parts of the other two slides showing to the center slide's left and right. All works ...
0
votes
0
answers
70
views
How to show my maps website in JavaFX application using WebView?
I need to implement a map for my road management project. Something similar to Google Maps but simpler. It is for an academic project. I don't want to use Google Maps API.
I tried using JavaFX WebView....
0
votes
1
answer
84
views
CSS styling while using a Javascript callback in Google Custom Search results
I'm using Google Custom Search (the hosted type, not the API) and have custom styled the results using the callback feature.
I have added marginLeft to give the thumbnails .gs-image more room and move ...
0
votes
1
answer
87
views
How to fix this one flex-box with scrollbar problem?
I have a simple markup for my page and I am experiencing an issue where the scroll bar appears too late when I reduce the page width. For better understanding, here is the codepen and photo.
Codepen ...
0
votes
1
answer
43
views
React Native FlatList: How to vertically center content below a fixed header in renderItem?
I'm building an intro slider in React Native using a horizontal FlatList. Each slide consists of:
A title aligned at the top of the slide
An image and description block that should be ...
0
votes
1
answer
31
views
Changing Title Size in Flexdashboard
I am currently designing my first flexdashboard and couldn't find a solution for changing the title size in my navigation bar. I tried to change it via css (s. code below). The code worked for the ...
0
votes
1
answer
47
views
bg-muted not working in Tailwind CSS v4 with custom CSS variables
I'm using Tailwind CSS v4 with a custom theme that defines --muted using CSS variables. However, the utility class bg-muted does not seem to apply any background color when used in my components.
What ...
-8
votes
0
answers
44
views
I'm using the react-window library in my React app to virtualize a table with a large number of rows. However, I'm facing a UI issue wm [closed]
I'm using the react-window library in my React app to virtualize a table with a large number of rows. However, I'm facing a UI issue where the horizontal scrollbar overlaps with the table rows instead ...
-1
votes
1
answer
59
views
Css Stacking:- ::before pseudo-element (button) appears above content on hover [duplicate]
On hover, the buttons show a conical gradient background, which I have set to button-class::before to bring that glow effect for each button.
Image
.button-class{
background-color: #0f0f2c;
box-...