Quantcast
Channel: Active questions tagged flexbox - Stack Overflow
Browsing index pages (1666 articles)
↧

Can flexbox divide items evenly on multiple rows?

I've played around with responsive flexbox grids, with no media queries.http://jsbin.com/qurumisu/1 (rescale the window to see how it works)It fits as many flex items as it can per row and stretches...

View Article


Distribute flex items evenly when they wrap

When my flexbox container has more than a certain number of elements, I want it to use multiple rows. Here is my current solution: .container { display: flex; width: 400px; background: black; padding:...

View Article


Image may be NSFW.
Clik here to view.

How to stop flex-box from pushing other elements out of the container?

It's a bit hard to explain, but consider a flex header with a menu and then something else on the right which is fixed width. As the window size shrinks in width, there is less room for the menu....

View Article

Flexbox filter issue

I have a flexbox that follows the width: calc(100% / 3); css. This fits well in screen if there are over 6 divs. However, I have a filtering system, so potentially the user can filter and show only 2...

View Article

Why is "flex" property not sizing the children elements proportionally?

My expectation: The .lower-card height should be 70px and .upper-card height to be 140px (because flex is set to 1 and 2 respectively and total height is 210px).Reality: Problem is that my padding is...

View Article


Flexbox with multiline text ellipsis

I've been using the white-space: no-wrap, text-overflow: ellipsis, and overflow: hidden CSS properties to create ellipsis truncation for multiline text. However, this doesn't work when using...

View Article

Adjusting the space between elements set by justify-content space-between

Is there any way to reduce the space in justify-content:space-between?There is too much space between elements. space-around is no solution either, so I was wondering if maybe I can for example say...

View Article

Centering Items with Flexbox and Overflow

Problem SummaryMy desired layout is to be able to center (both vertically and horizontally) an image of unknown size on the page. If the image is too big to fit in either direction, I want to show...

View Article


how to make a div (flexbox) stay in a fixed position while scrolling (did a...

I have a table made with divs, using flexbox to obtain a nice table formatting of my divs. Now I got a structure like this:<div class="tableWrapper"><div class="tableHeader"> <div...

View Article


Flex-direction: column messes up the element's responsivity, flex-direction:...

My HTML is set in the following way:<section class="secao-padrao secao-contatos"><div class="bloco-contatos"> [Other elements] </div> </section>And this is the CSS...

View Article

Make a flex container scroll

I have a flex container with this styles:section { width: 100vw; height: 100vh; display: flex; overflow-y: scroll; justify-content: center; align-items: center; flex-direction: column;}this section has...

View Article

Image may be NSFW.
Clik here to view.

Why is flexbox justify-content: space-between not working on wider desktop...

I am trying to build a responsive hero section using CSS Flexbox. I have text on the left and an image on the right. My goal is for the elements to be spaced apart properly using justify-content:...

View Article

Why does flex give hr element width of 0?

When I try putting an hr element inside a container with display: flex, it disappears. (If I remove display: flex, it reappears, so I'm confident that is the cause.)I read on a blog post that flex...

View Article


CSS 100vh offset by header

I have this pen here: https://codepen.io/anon/pen/wPdrodAs you can see (at least in Chrome and Firefox), there are 2 vertical scroll bars. There should only be the inner one, as the header should...

View Article

Responsive table inside Flexbox not working

The responsive Bootstrap table inside my flexbox layout is not working. It seems that the overflow property from the "responsive-table" class having no effect.If I change the outer layout from flexbox...

View Article


Image may be NSFW.
Clik here to view.

Expand square flexboxes two dimensionally within bounds

I have a dynamically generated grid that I would like to appear responsive, that is, it should expand up to a reasonable size on the screen while keeping aspect ratio. What I would like is something...

View Article

Image may be NSFW.
Clik here to view.

About sprite-flex-js issues [closed]

I'm a beginner of sprite-flex-js (Apache Royale). Right now the issue I meet is: FlashDevelop IDE has recognized a thirdpart class Stats, but when building it, the compiler shows a error: Call to a...

View Article


Image may be NSFW.
Clik here to view.

How to remove scrollbar from Mat-tab or Mat-card

I currently have a card (mat-card) that inside has 2 tabs (Now you only see one tab, but the idea is to fix this problem to add the other one; which will have the same content but will serve as an...

View Article

Image may be NSFW.
Clik here to view.

CSS print and Flexbox

Hello I would like to create some page using css print.I looked around and the web I tried some stuff but saddly the alignment is not working.The Layout I want to produce:here is my html <section...

View Article

Excess empty space in web page [closed]

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 userstyle to...

View Article
Browsing index pages (1666 articles)


Latest Images