python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Why doesn't `width:100%; height:100%; object-fit: contain;` make a <video> fit its container?
So I have a page with a grid layout, with a header and a footer and a black content container in the middle.
html, body {
height: 100%;
margin: 0;
padding: 0;
}
.container {
display: grid...
Peter Olson
Votes: 0
Answers: 1
Nesting grids on a fixed size container loses overflow scroll ability in nested child
I'm looking for the right way to embed grid layouts inside other grids so that the child elements can be scrollable.
In the example below, I want the middle part to be scrollable and have fixed sized ...
JaviOverflow
Votes: 0
Answers: 0
Need all elements in a row to be the length of the longest sibling
I have some dynamically generated buttons, the button text may be a single word, or a small sentence. So I need the buttons to autosize to their content (i.e. can't use a fixed width).
But I also need...
TRG
Votes: 0
Answers: 2
CSS Grid, empty row still adds gap
I have a CSS grid, sometimes not all the elements are used. In the actual use case I am using the grid for input widgets, where there maybe extra help text or errors dropped into a specific grid-area....
run_the_race
Votes: 0
Answers: 1