806,283 questions
Score of 0
0 answers
10 views
Excess empty space in web page
On https://www.nytimes.com/games/connections, once you click "Play" and see the game board, below the game board there is a massive swath of empty space. I want to write a userscript or a ...
Score of -7
0 answers
61 views
Image size fixed across all screen size [closed]
I want to implement an image property by which the image dimensions will remain same on all the screens from larger desktop screens to mobile screens.
Even if we zoom-in/out.
I tested my ...
Score of 0
0 answers
67 views
How to create a smooth sliding overlay sidebar in CSS without layout jitter and unwanted horizontal scrollbar?
I am building an overlay sidebar component next to a Leaflet/Mapbox map in a Rails application.
Requirements:
No Map Bounds Recalculation: The sidebar wrapper stays in the layout flow with a static ...
Score of 0
0 answers
70 views
Canvas click hit-testing vs devicePixelRatio scaling — why doesn't click code need the ratio? [closed]
I'm drawing a graph on <canvas> where nodes have fixed logical coordinates (e.g. in a 1100×620 "design space"), and I scale/translate them to fit the actual rendered canvas size, plus ...
Score of 3
1 answer
90 views
How do I move a grid in CSS upwards from the bottom of the page?
The problem I am facing is that my grid is placed at the bottom of the page, and I have been trying multiple tactics, including padding, to move it, but none have worked.
I really would like to get an ...
Score of 0
1 answer
60 views
How to make CSS fading effect in Svelte 5
The fading effect should be at the right side when the horizontal scrollbar is touching the left side, and should be at both sides when the scrollbar isn't touching neither right side nor left side.
...
Score of -3
0 answers
87 views
How to capture original state of a container? [closed]
I'm building a feature where users can select a container (for example, a navbar) and preview different design styles using Next/Previous buttons.
Before applying any changes, I want to save the ...
Score of -5
0 answers
64 views
how to change window color using vala gtk4 [closed]
I'm trying to change window/background color but it seems too hard, i was trying to find an answer but they are mostly outdated or not what i was looking for, can somebody just gimme a simple code ...
Score of -2
0 answers
81 views
How can I quickly identify the font used on a webpage using JavaScript? [duplicate]
How can I quickly identify the font used on a webpage using JavaScript?
I’m building a small JavaScript utility for web designers and I want to identify the font being used for a particular piece of ...
Score of 1
1 answer
124 views
Do CSS namespace attribute selectors work with XML?
I am having trouble getting the value of an xlink:href attribute in a Docbook5 XML document to show using namespaced CSS.
The document is https://xml.silmaril.ie/hotels.xml and the CSS is https://xml....
Score of -7
0 answers
150 views
How to exchange usual html button with nice switch? [closed]
This simple code used to make images smaller / bigger by single button press and it works fine
I need to change that standard html button with nice looking switch, see the code:
// Select the button ...
Score of 2
2 answers
181 views
What colors are supported by the CSS in Swing for background-color?
Here is a simple reproducible example of my confusion.
import module java.base;
import module java.desktop;
void main()
{
SwingUtilities
.invokeLater
(
() ->
{
...
Score of -4
1 answer
123 views
How can I recreate my background I envisioned [closed]
I am trying to recreate this background without AI, but struggling with how to do it. Right now I am using clip-path polygon but this doesn't seem like the right way. Anyone have ideas?
The image is ...
Score of -6
0 answers
100 views
Chromium print mode: text overflows when a rowspan cell spans multiple pages
When printing an HTML table in Chromium (e.g. using Ctrl+P), text inside a <td rowspan="..."> can overflow or be rendered outside the cell when the cell spans multiple printed pages.
...
Score of 0
2 answers
139 views
Switch to minimize some icons on page
I have this simple code which makes image smaller by button press.
This works fine, but with one image only - how do I make same button for many images?
I have tried to include a list of <img> ...