Skip to main content
Stack Overflow's 2025 Annual Developer Survey is still open — take the Survey before it closes
0 votes
0 answers
18 views

Which CSS cascade has prevalence in this case and why? [duplicate]

While doing this excercise i came to the idea of "optimizing" the code trying to avoid the use of the class selector ".white-text" and setting the property "color: white" ...
-2 votes
0 answers
32 views

replaced image is not showing [closed]

the image not showing when replace image from the template even my image is in the same folder I tried adding an image using this path: img/background.jpg. I expected the image to load in the ...
  • 1
0 votes
2 answers
35 views

CSS page counters not visible in generated PDF using @page rule

I'm developing a feature to generate a PDF health report from an EJS template. I'm trying to add page numbers (e.g., "Page 1 of 10") to the footer of each page. I'm using the CSS Paged Media ...
0 votes
2 answers
22 views

Is there a way to use the subsequent-sibling combinator so that it matches only the first instance?

I'm trying to figure out a way--when hovering on an element--to affect that element and the next subsequent-sibling ONLY. In my example below, when I hover over the Header I only want the next Footer ...
0 votes
1 answer
23 views

How do i hide certain rows in an html table with jquery [duplicate]

I would like to toggle certain rows containing certain data but I just cant seen to get it working,I have tried many variations. Somewhere i am missing something small. My latest variation looks like ...
-7 votes
0 answers
47 views

I'm trying to clone netflix's landing page and I need help making the curve divider [closed]

I'm trying to clone Netflix's current landing page using html and css as a project, and I'm facing an issue when trying to create the curve divider This is how my curve looks like This is how the ...
0 votes
0 answers
17 views

Chakra3 ui Select slot recipe - indicator color change on trigger state change (focused, hovered, expanded)

i am trying to compose my own chakra 3 ui slot recipe based on the reference slot recipe provided by chakra. Currently i am trying to achieve the behavior whereby the indicator aka the down chervon ...
  • 1
1 vote
1 answer
32 views

How do I address Properties of an element of the Form if the element has null for a name?

I have begun examining the Properties in the Launcher windows as Shai suggested, and that gives many of the names required to change or apply Styles. I have found the component text I need to Style on ...
2 votes
1 answer
106 views

Text direction of adjacent elements

Suppose I have the following HTML: <p class="group" dir="ltr">Paragraph 1</p> <p class="group">Paragraph 2</p> <p class="group">...
1 vote
2 answers
99 views

The details does not expand to full size when dynamically generated

I am making a menu, and as suggested by members here. As can be seen in the first code snippet the menu does not resize to its full size. The text part is not shown, it looks like this: But it should ...
  • 2,278
-5 votes
0 answers
22 views

My unzip file images not shown or loaded on the browser [closed]

Firstly I downloaded the zip folder and then unzip it after that I saved it in the same folder in which the css is saved and when I write the css code on the vs code background-image: url("img/...
1 vote
0 answers
36 views

How to use a sprite sheet in A-Frame?

How do I make the texture for a simple box/cube in a-frame a sprite sheet, like, a 6 image sprite sheet, as if it was for a single cube in Minecraft or something, i know if you put an image in for the ...
0 votes
1 answer
60 views

<dialogue /> modal does not block body from scrolling

useEffect(() => { if (modal_ref.current) { modal_ref.current.showModal(); } }, [foc]); when my <dialogue /> component is rendered and covers the entire viewpoint, the above ...
0 votes
1 answer
55 views

Set div height to image background size after width resizing at 100%?

I have an image that's 2000px x 400px, which will be the background for a div. I want to set the div width to 100% and the div height is automatically set to the image height after resizing so that ...
-2 votes
0 answers
37 views

Use an SVG image as a cutout for an HTML element? [closed]

I'm trying to have an icon display as a cutout in its parent element. The icon is an svg file. I am not looking to create the effect inside of the svg graphic (e.g. with the clipPath or mask elements)....
  • 424