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

Overflow scrolling on dynamic sibling div [duplicate]

I have html markup<div class="wrapper"><aside class="l-side"><div class="l-content"></div></aside><aside class="r-side"><div...

View Article


Image may be NSFW.
Clik here to view.

Input Box component and buttons are too small to apply md: despite having...

I'm working on a responsive navbar using React and Tailwind CSS for my course-selling website. The layout contains:A logo on the left.A search input box and search button in the right (visible only on...

View Article


How to make texts which are different in the number of characters start from...

My design looks like this :: not aligned well verticallyenter image description here<div class="sum"><div class="title">Summary</div><div class="results"><div...

View Article

Image may be NSFW.
Clik here to view.

Extend content height side by side [duplicate]

So here I have 2 column layout with some content like header, sub-title, horizontal rule, another text and a list. (Please refer to two screenshots attached)The container (main column) is able to...

View Article

Controlling when a wrap occurs in a flexbox

I have a two column page, one skinny column and one fat column. I am using a flexbox to display them.When I resize the browser width smaller, the wider div wraps almost immediately. I expected it to...

View Article


What could cause this misalignment, and how can I fix it to ensure the...

I'm building a React application with styled-components, and I'm having trouble aligning my MarketHeader and TableContent components. They are both children of a parent container and use flexbox for...

View Article

Is it possible to constrain width of item in flex-grow container? [duplicate]

Main layout of my webpage is laid out as flex flex-row. Left column contains side panel and right column set to grow contains the main content.The problem is that when screen width is too small, wide...

View Article

Align flex wrapped elements to vertically

I basically have couple of questions with n number of options, these options are under a flex container with flex wrap set to wrap, if the options are getting wrapped i want the wrapped elements to be...

View Article


Why does an absolutely positioned div within a flexbox collapse in width?...

I'm trying to build an absolutely positioned popup, which is positioned relative to a flexbox parent.Here is a minimal extract of my html:<div id="a" style="display: flex; position: relative;...

View Article


Flexbox complex design

I’m working on a React project. I want to create a flex layout but I’m struggling to achieve the design I’m looking for.Can you please tell me how would you do it? Or maybe recommend any other approach...

View Article

Image may be NSFW.
Clik here to view.

All widths set to width of widest element

I've read a lot of tutorials about CSS flex boxes and CSS grids, but frankly I just can't figure out how to do this simple(?) thing.All I want is for the elements in a container to all be as wide as...

View Article

Flex and Bison not accepting input file

I am writing a Flex & Bison program for a class, and I feel that I am almost done. However, when I try to run the program with an input file, it simply refuses to read it and has me input lines...

View Article

Image may be NSFW.
Clik here to view.

How to float text around image in react native

I am trying to achieve a very common effect in react native of having text wrap around an image. On the web you would assign a float property to the image and follow it with a p tag. . Here is a RNPlay...

View Article


Image may be NSFW.
Clik here to view.

Div stretch to all the available space but no more

I have a simple setup with:# Header# Content# FooterI want Content to stretch to all available space (if it needs more show scroll), and it works:body { margin: 0; font-size: 2em;}.container {...

View Article

Overflowing child content causes parent containers to exceed h-screen and i...

<div className="flex h-screen w-screen bg-neutral-900 flex-col"><div className="flex w-1/3 h-full gap-4 p-4 items-center justify-center flex-col text-white bg-neutral-900 "><div...

View Article


How to Create a Responsive Grid Layout Without Gaps Using Flexbox? [duplicate]

I'm trying to create a responsive grid layout using Flexbox, but I'm facing an issue where gaps appear between boxes in different rows, depending on their height. The desired layout should resemble...

View Article

I am not able to increase the width of my flexbox

ProblemI am creating an image gallery using flexbox layout.I want bigger/proper width for images displaying in flex box layout.It is getting shrunk up and I cannot understand why. I would like to...

View Article


Image may be NSFW.
Clik here to view.

Why are images and text misaligned inside ul? [closed]

It still appears misaligned. Any ideas why when both are vertically centered appear like this?.cssUl { border: 1px solid black !important; background-color: red; display: flex; align-items:...

View Article

Paragraph inside a flexbox is not getting centered

I have made a card container which contains an image and a paragraph.I gave the card container display flex and align-items and justify-content both centre. The image got centered as expected but the...

View Article

Position a div element relative to its previous sibling (piano keyboard styling)

I'm developing a piano keyboard using HTML + CSS.My code structure is as follows::root { --piano-width: 600px; --piano-height: 150px; --piano-keys-gap: 1px; --piano-black-keys-height-perc:...

View Article
Browsing all 1305 articles
Browse latest View live


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