Quantcast
Channel: Active questions tagged flexbox - Stack Overflow
Browsing all 1545 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

CSS: Problem in the navbar, due to the position of the text selection...

I'm creating a navbar but I have a problem when I move the mouse over an item (for example on Company) to display the drop-down menu below.The problem is that the green selection rectangle is...

View Article


Image may be NSFW.
Clik here to view.

CSS distribute items evenly accross two rows while keeping the width of the...

I'm trying to create the following design:The html looks similar to this<div className='container'><div className='badge'/><div className='badge'/><div...

View Article


To prevent overlapping of elements in bootstrap fixed header with flexbox

I've created a fixed header with custom properties using bootstrap.It contains 2 image elements one is asset\fetching.gif and another is asset\logout.png and when I execute it, the asset\fetching.gif...

View Article

Image may be NSFW.
Clik here to view.

In Bootstrap why does "fixed-bottom" make the buttons full width when...

In a simple page I want 1 button near the top and 2 buttons fixed to the bottom. With everything else being equal when I add the "fixed-bottom" class to the div containing the buttons to be fixed to...

View Article

CSS: display: flex interfers with .hidden class > collapsible div is visible...

I have a main page and on this page there is "Add question" button, and if clicked the expected behaviour should be that a collapsible div will appear on the top of the page and also an overlay layer...

View Article


Display: flex interfers with .hidden class > collapsible div is visible even...

I have a main page and on this page there is "Add question" button, and if clicked the expected behaviour should be that a collapsible div will appear on the top of the page and also an overlay layer...

View Article

How to change the width of a CSS-grid column based on content dimensions?

I want to create a template for a simple grid of three images in two columns.Column 1: Image A will have object-fit: cover. It can be cropped and resized as needed.Column 2: Image B and C must...

View Article

Image may be NSFW.
Clik here to view.

Row will not grow to full width with flexbox and horizontal scrollbar

I'm building a table with flexbox, with the first cell being a header for the row. The other cells in the row are fixed-width.I'd also like to have a header row with a background than spans the whole...

View Article


Recharts Responsive Container does not resize correctly in flexbox

I'm trying to create a custom collapsable legend for my data visualization app. It uses react and recharts. the component renders nicely the first time. But when I collapse the legend and reopen it,...

View Article


Div with 100vh expands to size outside viewport [closed]

Why is #root expanding outside of the viewport height? How do I get #root to remain at the height of the...

View Article

vertically justified flexbox elements

The old display: box had the ability to justify elements vertically, so for N number of elements with H defined height, they will arrange themselves justified (vertically) in relation to the parent...

View Article

Flexbox wrap in flexbox no wrap

I would like to add a flexbox with wrap at the end of a flexbox with no wrap. In order to wrap only elements in the second flexbox if space is missing.I made a snippet to show you what happen, it's...

View Article

How to make grid columns equal width and equal to maximum max-content of the...

I have n children items in a container grid and each child can have different width.I want to arrange them in css grid such that each column width is equal.The width of column would be the maximum of...

View Article


Image may be NSFW.
Clik here to view.

Horizontal Flatlist: Space between items

I'm trying to get space around my items in a horizontal flatlist, no matter how I try it doesn't seem to work:const renderItem = ({item}) => {return (<View style={styles.item}><Image...

View Article

Why is my content not vertically aligned? (Flex, CSS3)

I want to align the items in row menu and row content vertically by using Flex, but I can not seem to get the code to work. Both classes do have the right height, which I have achieved by using Flex as...

View Article


How to automatically set the width of a flex container to its contents?

On the third line, I want the circle images to be all the way to the left while the placeholder is all the way to the right. It seems like the flex container is automatically expanding to fill the...

View Article

Flexbox element not filling remaining space in 100vh page container [closed]

I have a layout with a 100vh flexbox page container wrapping a top menu and a container. I'm trying to get the container element to fill the remaining vertical space under the menu but I don't know how...

View Article


Prevent expansion of flex container - filling vertical space

I'm trying to make a layout with a sidebar that expands to the full height of the content area without increasing the size of that content area flex container. The menu has a set height of 50px and...

View Article

Creating a two-column CV layout with golden ratio and timeline in HTML/CSS

I'm trying to create a two-column layout for the experience section of my CV in HTML/CSS. The left column should be right-aligned and the right column should be left-aligned, with a ratio of 1:phi^2...

View Article

Image may be NSFW.
Clik here to view.

Why is flexbox behaving differently in chrome vs firefox?

I have a div with two elements, an image and text inside a flexbox. I try to maintain the ratio between the two using flex: 1 and flex: 2. (one third for the image, two this for the text).It looks like...

View Article
Browsing all 1545 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>