Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 1
2 answers
116 views

I can't seem to change the position of an animated gif. I've tried different types of positioning, using a div vs just adding a class to the image, and I can't get it to work. I am trying to get my ...
Score of 9
1 answer
256 views

I have a component on my website that looks somewhat like this: body { color: #fff; font-family: arial; font-weight: bold; font-size: 40px; } .main-container { max-width: 600px; margin: 0 ...
Score of 0
2 answers
106 views

Given a small colored box followed by a label name tag to it. Like so: Once mouse hovering the small colored box, the box should expand to full width and the label text should get positioned inside ...
Score of 1
1 answer
117 views

I want to understand how CSS negative margins work in the box model, but the official documentation is difficult for me to follow. Below, I use an example to illustrate my confusion. Why can negative ...
Score of 0
0 answers
50 views

I’m building a floating label input using Tailwind/React. The floating label is an absolutely positioned <span> inside a <label>, and it uses :has(+ input:is(:focus,:not(:placeholder-shown)...
Score of 3
1 answer
109 views

I'm building a responsive MacBook screen component using CSS aspect-ratio, but I'm encountering a strange behavior where the aspect ratio gets distorted depending on how I position the inner content. ...
Score of 1
1 answer
64 views

I just want to ask if I understand something wrong. Here is a Fiddle <table> <th style="position: relative; width: 50px; height: 100px"> <div style="position: ...
Score of -1
1 answer
105 views

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-...
Score of 0
2 answers
96 views

I have a fixed element at the top of my page, a vector logo. Further down the page, I have a large vector element. They are both the same colour. When the logo passes over the second element, I want ...
Score of -1
3 answers
99 views

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>...
Score of 0
2 answers
113 views

When using anchor positioning, I want the element to not extend beyond the boundaries of screen (or other container). For example: document.getElementById("flyout2").innerText += " long".repeat(100); ....
Score of 1
4 answers
221 views

I'm doing a flask battleship game. Started with the visuals, and have this HTML/CSS structure: :root { background-color: black; } .boards-container { display: flex; justify-content: space-...
Score of 1
1 answer
32 views

This Image contains a div with two images, one for the background (the circles) and one for the content (the two phones (one image)). Can you suggest a way to make the phones spill out of the div ...
Score of 0
3 answers
145 views

I have provided a picture in this post and as you can see there is a box where text is written "I am sticky".So initially when i applied the "position:sticky" with "top:0"...
Score of 0
0 answers
74 views

I'm trying to make the header for the website for my personal project. However, the image is overflowing out of its' container and I don't know how I can fix it. I've tried using overflow: hidden , ...

15 30 50 per page
1
2 3 4 5
423