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

Image may be NSFW.
Clik here to view.

i need to change the affect with css elementor code for a slideing out widget

this code add transition for css widget bout when it appears to show over the screen with slightly grey affect iam wanting it to not do that what code should i add ?.premium-magic-section-wrap {...

View Article



CSS Flex Containers - flex child items don't stay within the Flex container...

Trying to use CSS flex containers to build a responsive page header. When I resize the page for mobile, the flex container items ignore the flex container and overlay over the rest of the div page...

View Article

Image may be NSFW.
Clik here to view.

How to Align HTML Classes in CSS with a Flex Layout

I am strugging to align the borders vertically between two different containers in a flex layout.I have a class named “navbar” and a class named “header-content.” Both classes are children nested in...

View Article

Material UI Grid List item Spacing

I am new to Material UI, but I would like to increase the spacing between the image tiles in the Grid List, I have followed the example in the Material UI documentation, and have searched Stack...

View Article

Image may be NSFW.
Clik here to view.

How do I add gap in between items in flatlist?

I want to add some spacing in react native using flatlist, but it seems more difficult than it should be at the moment.Turns out that react native does not support gap property, which makes this very...

View Article


Struggling with flexbox [closed]

I really need help with using flexbox!!! I got some code from on here (which was brilliant!), however when I entered in all the code and view the website in full screen the images and text below stay...

View Article

Flex shrink not working on img as flex item [duplicate]

I just noticed that somehow image elements inside a flex container don’t seem to shrink, and I cannot figure out why.div { width: 500px; display: flex; overflow: hidden;}img { flex-shrink:...

View Article

How make a flex grow div hide its overflow content

Using tailwinds css. I have a div which takes all available space thanks to flex-grow class. It also has overflow-scroll to hide its content.Inside this div I have a component with h-full class. The...

View Article


Image may be NSFW.
Clik here to view.

CSS Flex: Restrict max height of child within vertical Flex

I have a container (A) with flex-direction: column, containing 2 child elements (B and C)The first child (B) has dynamic content and its height will vary.The second child (C) uses flex-grow to fill the...

View Article


Image may be NSFW.
Clik here to view.

How to "wrap" divs underneath other divs using CSS flexbox (when resizing...

I'm new to learning flexbox in CSS. I'm trying to figure out how I can make the furthest right div block wrap underneath it's neighboring div when resizing or zooming in on the screen.The easiest way...

View Article

Div disappearing when using flex in media queries

I have a leaflet map in a div. However, on mobile the map is not showing. I've tried using flex but it doesn't work.Any idea how to solve this ? var map = L.map('map').setView([45.505, -73.19], 9); //...

View Article

flexbox: max-gap between elements [duplicate]

Hi: I have the following problem:I have this vertical flexbox which should be able to be resized by adding space between the items, but only up to a certain point.It has.my-flexbox{ margin-top: auto;...

View Article

Image may be NSFW.
Clik here to view.

Flex container stretches to full width when items wrap [duplicate]

I want the flex container to expand as much as the largest row when the items wrap.Given the container below, it should expand as much as the first row, leaving no gap on the sides.#main { display:...

View Article


Flex Justify Content isn't working both Vertical and Horizontal way

enter code hereMy body height is 100%, Html height is 100%, root height 100%, and this section is 100%section{ max-width: 50%; height: 100%; display: flex; flex-direction: column; background-color:...

View Article

Image may be NSFW.
Clik here to view.

Flexbox - How to center the first items of two different containers? [duplicate]

So basically I have this situation:There is a "big" container1 that renders two different containers ("rows"), both 100% width.What I'm trying to achieve is to align vertically the item of container2...

View Article


Image may be NSFW.
Clik here to view.

Flexbox child does not have declared padding

I just can figure out why the right button has not enough padding.<div class="col-span-2 flex gap-0.5 items-center justify-between"><p>Wie möchten Sie ihre Antwort...

View Article

Image may be NSFW.
Clik here to view.

Flexbox, flex-shrink, flex-basis or what? [closed]

Desired result:I'm trying to match this design, but I don't seem to find an effective way to do the CSS so that it stays responsive at least for tablet.The point would be for the image and the text to...

View Article


Image tag in flexbox causes overflow

I'm working with tailwind and try to create a quartered flexbox inside a container with fixed height.The flexbox should not overflow that fixed height. It works just fine until I add an img-element....

View Article

Text elements are limiting my container div's shrinkage, how can I make it...

The Issue in QuestionIs it possible to keep shrinking the container ?The reason I have it overflow like this is to create the side scrolling bar, but didn't know the text content would limit it like...

View Article

Image may be NSFW.
Clik here to view.

How to reverse a columns: 2 auto; in react JS

I have a array with [1,2,3,4,5,6] and creating a views like| Cell 1 | Cell 4 || Cell 2 | Cell 5 || Cell 3 | Cell 6 |with using CSS properties like columns: 2 autohow to create the mirror image of the...

View Article
Browsing all 323 articles
Browse latest View live


Latest Images