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

How can I set an element to flex-1, and then prevent it from growing more...

I have a layout, header + content + footer.The header and the footer both have static heights.The container has flex flex-col and the content has flex-1.As long as the content inside the content...

View Article


Image may be NSFW.
Clik here to view.

How can I create the curly arrow/tail of a chat bubble in React Native

I am currently making a chat bubble in react-native. Since I am new to react-native I first tried to make the chat bubble on a browser and then tried to replicate the same in react-native. I am...

View Article


Image may be NSFW.
Clik here to view.

unable to get consistent layout with tailwind for relative container

I am trying to build a form layout in a NextJS project with tailwind CSS.here is the CodeSandbox Link for the issue.After running the code in sandbox, please click the button the view the resulting...

View Article

Image may be NSFW.
Clik here to view.

Flexbox Equal Height Cards Wrapping Issue

I am trying to create a section that have 3 equal columns/cards. I run into a trouble when I tries to make it works on smaller screen sizes. Each card should wrap on to a new line when the screen size...

View Article

Image may be NSFW.
Clik here to view.

Flexbox with column is not providing the desired output in CSS

I have an HTML layout styled with flexbox, but the current CSS isn't achieving the desired layout. I want the second row of the second column to begin immediately after the first columns second...

View Article


Image may be NSFW.
Clik here to view.

Flex-wrap does not wrap items to the next line

I am trying to make a columns layout work using flexbox. I encountered a problem when I tried to make each column of text wrap on to the next line when it does not have any more space. My problem could...

View Article

Image may be NSFW.
Clik here to view.

How can i minimise empty space in a flex box that wraps its content? [closed]

I have a flexbox that is the container for a few child elements that themselves are also flex boxes. The child flex boxes have variable widths and heights due to the different elements within them. Ive...

View Article

How do you make each image in a flexbox row of images the same height all the...

I have five images; each one represents a logo. I have made each one the same height in pixels, but they all have varying widths. I want to display them in a flexbox in such a way that all five images...

View Article


Position text in div that uses flex

I'm trying to add text in the top right corner of the screen to use it as a menu over a div that is using flex (the section1div would contain an image irl). However, it keeps staying in the top left...

View Article


How do I set my flex correctly on this sign up page

I am currently working on project #6 of the Odin Project and having some minor problems. I am trying to get my project as close to...

View Article

Is there a way to flex field generate by for loops?

This is my code that generates fields using a for loop. I'm expecting the email and phone number fields to be displayed side by side, but instead, they are stacked on top of each other. I believe this...

View Article

how to make all elements of side panel the same width in flexbox?

I've been trying to center the left and right panel below the header so that header and those panels are in one line (text from the header is exacly below the text from the lower section from both...

View Article

How to create a specific row spanning flex grid [duplicate]

I am trying to create the flex grid in the attached image. the last column row spans, the second row col spans. I cannot seem to quite get there, can any flex grid experts help?flex grid exampleBeen...

View Article


Image may be NSFW.
Clik here to view.

Limit vertical growth of flex containers and display scrollbar instead...

So i have this layout: https://stackblitz.com/edit/ya6vrj-qtzort?file=src%2Fapp%2Fcarousel-basic-demo.html<div class="flex flex-column border-1"><div class="flex justify-content-center...

View Article

Make flex element ignore child element

Is it possible to make a flex element ignore a child element so it's size does not affect the other elements?For example, I have a wrapper with display: flex. It has a header, content, and...

View Article


Image may be NSFW.
Clik here to view.

Npm WARN deprecated @angular/flex-layout@15.0.0-beta.42: Flex layout is not...

I have a large application built in Angular 17 that I've recently updated to Angular 18. Since the flex-layout packages do not officially support Angular 18, I overrode them to make npm install...

View Article

CSS Flexbox: Why is my flex item not taking up the full height of its parent...

I'm trying to create a simple layout using CSS Flexbox, but I'm running into an issue where my flex item is not taking up the full height of its parent container. Here's my code:.container { display:...

View Article


FlexboxLayout Not Recognized Despite Correct Dependencies

I have already imported the necessary dependencies for my project to use the flexbox layout. It shows an error that it does not work and cannot find the dependency in my project.Here i the code I'm...

View Article

How to overlap flex items in a fix width?

The final result I want is this and the result I am able to obtained is this.Basically I want the cards to overlap in a fixed width, when it is overflowing its parent.And when it is not overflowing, I...

View Article

How to display many div in straight line and use div's width instead of...

I need some help with flex box shrinking or expanding the content within the same line without wrapping. Basically, I have many div element and each div is 50px length appended to the end tolook like a...

View Article
Browsing all 1305 articles
Browse latest View live


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